diff options
author | Carlos Tadeu Panato Junior <ctadeu@gmail.com> | 2016-12-01 23:23:28 +0100 |
---|---|---|
committer | Joram Wilander <jwawilander@gmail.com> | 2016-12-01 17:23:28 -0500 |
commit | c51afba71a8d4614f74709d5e9c432c2cff3fcf7 (patch) | |
tree | 8b2ad4586123c5a7bab8c44f91dd8eebbfaea674 /webapp/tests | |
parent | 8c18da21f3e51421a0dc6fbd4be1fa1e838dd482 (diff) | |
download | chat-c51afba71a8d4614f74709d5e9c432c2cff3fcf7.tar.gz chat-c51afba71a8d4614f74709d5e9c432c2cff3fcf7.tar.bz2 chat-c51afba71a8d4614f74709d5e9c432c2cff3fcf7.zip |
Add Team Description to the Team Settings (#4652)
* draft
* Add Team Description to the Team Settings
* add tooltips for team description
* made changes per PM review
* add message when there is no description set in the team
* squash
Diffstat (limited to 'webapp/tests')
-rw-r--r-- | webapp/tests/client_team.test.jsx | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/webapp/tests/client_team.test.jsx b/webapp/tests/client_team.test.jsx index ab2e625bf..13b2802d2 100644 --- a/webapp/tests/client_team.test.jsx +++ b/webapp/tests/client_team.test.jsx @@ -237,6 +237,24 @@ describe('Client.Team', function() { }); }); + it('updateTeamDescription', function(done) { + TestHelper.initBasic(() => { + var team = TestHelper.basicTeam(); + team.description = 'test_updated'; + + TestHelper.basicClient().updateTeam( + team, + function(data) { + assert.equal(data.description, 'test_updated'); + done(); + }, + function(err) { + done(new Error(err.message)); + } + ); + }); + }); + it('addUserToTeam', function(done) { TestHelper.initBasic(() => { TestHelper.basicClient().createUser( |