diff options
author | Jarka Kadlecova <jarka@gitlab.com> | 2017-05-22 13:07:12 +0300 |
---|---|---|
committer | Jarka Kadlecova <jarka@gitlab.com> | 2017-06-01 08:47:15 +0300 |
commit | 33d82ccb453ef020d28f1307be1a3a97130c9e0b (patch) | |
tree | 11884c9d626b30777695193443a7e4873f7a7e49 /spec/factories/services.rb | |
parent | dd0f8b8ccc3b5f61e31703f7391a919b702934a5 (diff) |
simplify test&save actions when setting a service integration
Diffstat (limited to 'spec/factories/services.rb')
-rw-r--r-- | spec/factories/services.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/factories/services.rb b/spec/factories/services.rb index 3fad4d2d658..e7366a7fd1c 100644 --- a/spec/factories/services.rb +++ b/spec/factories/services.rb @@ -33,4 +33,10 @@ FactoryGirl.define do project_key: 'jira-key' ) end + + factory :hipchat_service do + project factory: :empty_project + type 'HipchatService' + token 'test_token' + end end |