debian-mirror-gitlab/spec/factories/remote_mirrors.rb

7 lines
154 B
Ruby
Raw Normal View History

2018-10-15 14:42:47 +05:30
FactoryBot.define do
factory :remote_mirror, class: 'RemoteMirror' do
association :project, :repository
url "http://foo:bar@test.com"
end
end