summaryrefslogtreecommitdiff
path: root/spec/factories/project_hooks.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/factories/project_hooks.rb')
-rw-r--r--spec/factories/project_hooks.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/project_hooks.rb b/spec/factories/project_hooks.rb
index dbb5c357acb..946b3925ee9 100644
--- a/spec/factories/project_hooks.rb
+++ b/spec/factories/project_hooks.rb
@@ -6,6 +6,10 @@ FactoryBot.define do
enable_ssl_verification { false }
project
+ trait :url_variables do
+ url_variables { { 'abc' => 'supers3cret' } }
+ end
+
trait :token do
token { generate(:token) }
end