debian-mirror-gitlab/spec/factories/ci/web_hook.rb

7 lines
163 B
Ruby
Raw Normal View History

2015-09-25 12:07:36 +05:30
FactoryGirl.define do
factory :ci_web_hook, class: Ci::WebHook do
sequence(:url) { FFaker::Internet.uri('http') }
project factory: :ci_project
end
end