diff options
author | Azul <azul@riseup.net> | 2013-06-22 15:14:14 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2013-06-22 15:14:14 +0200 |
commit | 16602079b3cd92ad85f3d4afe57763c029b67ae8 (patch) | |
tree | 007ee4f285db8e955bf77334bf5beb15ebdb2829 /spec/signup_spec.js | |
parent | fb20ef3060a4e2dc8065f46891ce3b9cd3ef463f (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() { |