Commit d48f2460 authored by Shinya Maeda's avatar Shinya Maeda

Add sequence to release link factory

parent 3e630f00
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
FactoryBot.define do FactoryBot.define do
factory :release_link, class: ::Releases::Link do factory :release_link, class: ::Releases::Link do
release release
name "release-18.04.dmg" sequence(:name) { |n| "release-18.#{n}.dmg" }
url 'https://my-external-hosting.example.com/scrambled-url/app.zip' sequence(:url) { |n| "https://example.com/scrambled-url/app-#{n}.zip" }
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment