diff options
author | Jarka Kadlecova <jarka@gitlab.com> | 2017-05-22 12:07:12 +0200 |
---|---|---|
committer | Jarka Kadlecova <jarka@gitlab.com> | 2017-06-01 07:47:15 +0200 |
commit | 33d82ccb453ef020d28f1307be1a3a97130c9e0b (patch) | |
tree | 11884c9d626b30777695193443a7e4873f7a7e49 /spec/factories | |
parent | dd0f8b8ccc3b5f61e31703f7391a919b702934a5 (diff) | |
download | gitlab-ce-33d82ccb453ef020d28f1307be1a3a97130c9e0b.tar.gz |
simplify test&save actions when setting a service integration
Diffstat (limited to 'spec/factories')
-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 |