diff options
author | Rémy Coutable <remy@rymai.me> | 2016-11-17 18:08:24 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-11-17 18:08:24 +0000 |
commit | 726a414169e6c3219ff4fd410da3efd53fc7f912 (patch) | |
tree | b3cb53c9bb0724aacbf2181911b2157c5abef67a /spec/factories | |
parent | e96ee2a22ba56a77fcec371313e25d3b3c93cff2 (diff) | |
parent | d444fd3460e896065c21abda9a1cafa93f9315a5 (diff) | |
download | gitlab-ce-726a414169e6c3219ff4fd410da3efd53fc7f912.tar.gz |
Merge branch 'chat-name-authorize' into 'master'
Allows to authorize chat user against GitLab.
This is needed for: https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/7438
See merge request !7450
Diffstat (limited to 'spec/factories')
-rw-r--r-- | spec/factories/chat_names.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/spec/factories/chat_names.rb b/spec/factories/chat_names.rb new file mode 100644 index 00000000000..24225468d55 --- /dev/null +++ b/spec/factories/chat_names.rb @@ -0,0 +1,16 @@ +FactoryGirl.define do + factory :chat_name, class: ChatName do + user factory: :user + service factory: :service + + team_id 'T0001' + team_domain 'Awesome Team' + + sequence :chat_id do |n| + "U#{n}" + end + sequence :chat_name do |n| + "user#{n}" + end + end +end |