From 8370b62870a3100e126e6434a09eb518c26dfd71 Mon Sep 17 00:00:00 2001 From: Azul Date: Wed, 31 Jan 2018 10:06:15 +0100 Subject: clean up old subrepo --- app/assets/javascripts/srp/spec/account_spec.js | 31 ------------------------- 1 file changed, 31 deletions(-) delete mode 100644 app/assets/javascripts/srp/spec/account_spec.js (limited to 'app/assets/javascripts/srp/spec/account_spec.js') diff --git a/app/assets/javascripts/srp/spec/account_spec.js b/app/assets/javascripts/srp/spec/account_spec.js deleted file mode 100644 index 4110778..0000000 --- a/app/assets/javascripts/srp/spec/account_spec.js +++ /dev/null @@ -1,31 +0,0 @@ -describe("Account", function() { - describe("without seeded values", function(){ - beforeEach(function() { - account = new srp.Account(); - }); - - it("fetches the password from the password field", function(){ - expect(account.password()).toBe("password"); - }); - - it("fetches the login from the login field", function(){ - expect(account.login()).toBe("testuser"); - }); - - }); - - describe("with seeded values", function(){ - beforeEach(function() { - account = new srp.Account("login", "secret"); - }); - - it("uses the seeded password", function(){ - expect(account.password()).toBe("secret"); - }); - - it("uses the seeded login", function(){ - expect(account.login()).toBe("login"); - }); - - }); -}); -- cgit v1.2.3