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

9 lines
189 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
2018-10-15 14:42:47 +05:30
FactoryBot.define do
factory :remote_mirror, class: 'RemoteMirror' do
association :project, :repository
2019-12-21 20:55:43 +05:30
url { "http://foo:bar@test.com" }
2018-10-15 14:42:47 +05:30
end
end