diff options
author | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-03 11:29:56 +0100 |
---|---|---|
committer | Z.J. van de Weg <git@zjvandeweg.nl> | 2017-02-16 09:19:02 +0100 |
commit | 1a0e54b32d43e2a3de88c20037bd167b1f8563d6 (patch) | |
tree | 21b9a0fe8cc36425b105c5065ec951ea390a177e /app/models/chat_team.rb | |
parent | 297dc70158f905fef4557d1ee6510bcf459a08a9 (diff) | |
download | gitlab-ce-1a0e54b32d43e2a3de88c20037bd167b1f8563d6.tar.gz |
Add tests for Mattermost team creation
Diffstat (limited to 'app/models/chat_team.rb')
-rw-r--r-- | app/models/chat_team.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/models/chat_team.rb b/app/models/chat_team.rb new file mode 100644 index 00000000000..7952141a0d6 --- /dev/null +++ b/app/models/chat_team.rb @@ -0,0 +1,5 @@ +class ChatTeam < ActiveRecord::Base + validates :team_id, presence: true + + belongs_to :namespace +end |