diff options
Diffstat (limited to 'spec/factories/project_hooks.rb')
-rw-r--r-- | spec/factories/project_hooks.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/project_hooks.rb b/spec/factories/project_hooks.rb index 94dd935a039..3195fb3ddcc 100644 --- a/spec/factories/project_hooks.rb +++ b/spec/factories/project_hooks.rb @@ -1,5 +1,9 @@ FactoryGirl.define do factory :project_hook do url { FFaker::Internet.uri('http') } + + trait :token do + token { SecureRandom.hex(10) } + end end end |