diff options
Diffstat (limited to 'spec/factories/ci/web_hook.rb')
-rw-r--r-- | spec/factories/ci/web_hook.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/ci/web_hook.rb b/spec/factories/ci/web_hook.rb new file mode 100644 index 00000000000..40d878ecb3c --- /dev/null +++ b/spec/factories/ci/web_hook.rb @@ -0,0 +1,6 @@ +FactoryGirl.define do + factory :ci_web_hook, class: Ci::WebHook do + sequence(:url) { FFaker::Internet.uri('http') } + project factory: :ci_project + end +end |