We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 80d92f1 commit 7b279b2Copy full SHA for 7b279b2
test/user.js
@@ -79,10 +79,6 @@ describe('User', function() {
79
AV.User.loginWithEmail(email, password).then(function(user) {
80
expect(user.get('username')).to.be(username);
81
}));
82
-
83
- it('should fail when sessionToken is undefined', function() {
84
- return AV.User.become().should.be.rejected();
85
- });
86
});
87
88
describe('Current User', function() {
@@ -433,3 +429,9 @@ describe('User', function() {
433
429
434
430
435
431
432
+
+describe('User.become', function() {
+ it('should fail when sessionToken is undefined', function() {
+ return AV.User.become().should.be.rejected();
436
+ });
437
+});
0 commit comments