summaryrefslogtreecommitdiffstats
path: root/webapp/tests/client_team.test.jsx
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-01-03 17:12:55 -0500
committerHarrison Healey <harrisonmhealey@gmail.com>2017-01-03 17:12:55 -0500
commita71fc7ff7f9c5a04771b003c1cd195c5bc75336c (patch)
tree720cb3d538a0069f22f3ec9cd8ab0e61fe71bc3a /webapp/tests/client_team.test.jsx
parent3df8f334379f1977b3122fb78d0c742309e91a3b (diff)
downloadchat-a71fc7ff7f9c5a04771b003c1cd195c5bc75336c.tar.gz
chat-a71fc7ff7f9c5a04771b003c1cd195c5bc75336c.tar.bz2
chat-a71fc7ff7f9c5a04771b003c1cd195c5bc75336c.zip
Removing old createTeamFromSignup api (#4945)
Diffstat (limited to 'webapp/tests/client_team.test.jsx')
-rw-r--r--webapp/tests/client_team.test.jsx34
1 files changed, 0 insertions, 34 deletions
diff --git a/webapp/tests/client_team.test.jsx b/webapp/tests/client_team.test.jsx
index 61449fb15..012259d0c 100644
--- a/webapp/tests/client_team.test.jsx
+++ b/webapp/tests/client_team.test.jsx
@@ -38,40 +38,6 @@ describe('Client.Team', function() {
);
});
- it('createTeamFromSignup', function(done) {
- var client = TestHelper.createClient();
- var email = TestHelper.fakeEmail();
-
- client.signupTeam(
- email,
- function(data) {
- var teamSignup = {};
- teamSignup.invites = [];
- teamSignup.data = decodeURIComponent(data.follow_link.split('&h=')[0].replace('/signup_team_complete/?d=', ''));
- teamSignup.hash = decodeURIComponent(data.follow_link.split('&h=')[1]);
-
- teamSignup.user = TestHelper.fakeUser();
- teamSignup.team = TestHelper.fakeTeam();
- teamSignup.team.email = teamSignup.user.email;
-
- client.createTeamFromSignup(
- teamSignup,
- function(data2) {
- assert.equal(data2.team.id.length > 0, true);
- assert.equal(data2.user.id.length > 0, true);
- done();
- },
- function(err) {
- done(new Error(err.message));
- }
- );
- },
- function(err) {
- done(new Error(err.message));
- }
- );
- });
-
it('createTeam', function(done) {
var client = TestHelper.createClient();
var team = TestHelper.fakeTeam();