From 16602079b3cd92ad85f3d4afe57763c029b67ae8 Mon Sep 17 00:00:00 2001 From: Azul Date: Sat, 22 Jun 2013 15:14:14 +0200 Subject: refactor: rename constants to calculate and clean up hash usage --- spec/signup_spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spec/signup_spec.js') 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() { -- cgit v1.2.3