debian-mirror-gitlab/spec/factories/releases/link.rb
2020-03-09 13:42:32 +05:30

9 lines
254 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