summaryrefslogtreecommitdiff
path: root/spec/restful/login.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/restful/login.js')
-rw-r--r--spec/restful/login.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/restful/login.js b/spec/restful/login.js
index d84112a..1bc6108 100644
--- a/spec/restful/login.js
+++ b/spec/restful/login.js
@@ -55,7 +55,7 @@ describe("Login", function() {
this.expectRequest('sessions', 'login=' +login+ '&A=' +A, 'POST');
this.respondJSON({salt: salt, B: B});
this.expectRequest('sessions/'+login, 'client_auth='+M, 'PUT');
- this.respondJSON({M: M2});
+ this.respondJSON({M2: M2});
expect(this.srp.success).toHaveBeenCalled();
});