debian-mirror-gitlab/spec/factories/ci/web_hook.rb
2015-09-25 12:07:36 +05:30

6 lines
163 B
Ruby

FactoryGirl.define do
factory :ci_web_hook, class: Ci::WebHook do
sequence(:url) { FFaker::Internet.uri('http') }
project factory: :ci_project
end
end