diff options
Diffstat (limited to 'spec/signup_spec.js')
-rw-r--r-- | spec/signup_spec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/signup_spec.js b/spec/signup_spec.js index 70c6823..4f7a65d 100644 --- a/spec/signup_spec.js +++ b/spec/signup_spec.js @@ -9,9 +9,9 @@ describe("Signup with srp var", function() { beforeEach(function() { specHelper.setupFakeXHR.apply(this); - constants = new srp.Constants(); - constants.randomSalt = function() {return "4c78c3f8"}; - srp.session = new srp.Session(undefined, undefined, constants); + calculate = new srp.Calculate(); + calculate.randomSalt = function() {return "4c78c3f8"}; + srp.session = new srp.Session(undefined, undefined, calculate); }); afterEach(function() { |