debian-mirror-gitlab/spec/factories/releases/link.rb
2019-02-15 15:39:39 +05:30

9 lines
252 B
Ruby

# frozen_string_literal: true
FactoryBot.define do
factory :release_link, class: ::Releases::Link do
release
sequence(:name) { |n| "release-18.#{n}.dmg" }
sequence(:url) { |n| "https://example.com/scrambled-url/app-#{n}.zip" }
end
end