diff options
Diffstat (limited to 'spec/signup.js')
-rw-r--r-- | spec/signup.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/signup.js b/spec/signup.js index b5099b8..b38778a 100644 --- a/spec/signup.js +++ b/spec/signup.js @@ -24,11 +24,11 @@ describe("Signup", function() { it("receives the salt from /register/salt", function(){ var callback = sinon.spy(); - this.srp.register_send_verifier = callback; + this.srp.remote.register_send_verifier = callback; this.srp.register(); this.expectRequest('register/salt/', "I=user") this.respondXML("<salt>5d3055e0acd3ddcfc15</salt>"); - expect(callback).toHaveBeenCalledWith("adcd57b4a4a05c2e205b0b7b30014d9ff635d8d8db2f502f08e9b9c132800c44"); + expect(callback).toHaveBeenCalledWith("adcd57b4a4a05c2e205b0b7b30014d9ff635d8d8db2f502f08e9b9c132800c44", this.srp.registered_user); }); it("identifies after successful registration (INTEGRATION)", function(){ |