diff options
author | Azul <azul@riseup.net> | 2013-06-22 15:14:14 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2013-06-24 12:33:03 +0200 |
commit | f1ad0b7e428205a76f6176f44100eac39bb80310 (patch) | |
tree | 007ee4f285db8e955bf77334bf5beb15ebdb2829 /spec/signup_spec.js | |
parent | 9ba81783b999bfb3c126112af4dcabad75b7d6c5 (diff) |
refactor: rename constants to calculate and clean up hash usage
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() { |