debian-mirror-gitlab/spec/factories/releases/link.rb

10 lines
254 B
Ruby
Raw Normal View History

2019-02-15 15:39:39 +05:30
# frozen_string_literal: true
FactoryBot.define do
2020-03-09 13:42:32 +05:30
factory :release_link, class: '::Releases::Link' do
2019-02-15 15:39:39 +05:30
release
sequence(:name) { |n| "release-18.#{n}.dmg" }
sequence(:url) { |n| "https://example.com/scrambled-url/app-#{n}.zip" }
end
end