diff options
Diffstat (limited to 'webapp/tests/client_team.test.jsx')
-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( |