Updated user tests, added /logout

This commit is contained in:
Fosco Marotto
2016-02-02 20:16:06 -08:00
parent 3d3a97d151
commit 373f4f06a6
3 changed files with 57 additions and 45 deletions

View File

@@ -46,8 +46,7 @@ beforeEach(function(done) {
});
afterEach(function(done) {
Parse.User.logOut();
Parse.Promise.as().then(() => {
Parse.User.logOut().then(() => {
return clearData();
}).then(() => {
done();