From 38ed6e2df6cb73d411f860efe8664ef2d1d0ad3b Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Tue, 9 Sep 2014 22:24:16 -0300 Subject: [PATCH] fix karma tests --- test/unit/services/servicesSpec.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/test/unit/services/servicesSpec.js b/test/unit/services/servicesSpec.js index cb0d7c839..b430385fd 100644 --- a/test/unit/services/servicesSpec.js +++ b/test/unit/services/servicesSpec.js @@ -62,23 +62,6 @@ describe("Unit: controllerUtils", function() { expect($rootScope.unitName).to.be.equal('bits'); }); })); - describe("Unit: controllerUtils #updateGlobalAddresses", function() { - - - it(' should call updateAddressList ', inject(function(controllerUtils, $rootScope) { - $rootScope.wallet = new FakeWallet(); - var spy = sinon.spy(controllerUtils, 'updateAddressList'); - controllerUtils.updateGlobalAddresses(); - sinon.assert.callCount(spy, 1); - })); - - it('should update addresses', inject(function(controllerUtils, $rootScope) { - $rootScope.wallet = new FakeWallet(); - var Waddr = Object.keys($rootScope.wallet.balanceByAddr)[0]; - controllerUtils.updateGlobalAddresses(); - expect($rootScope.addrInfos[0].address).to.be.equal(Waddr);; - })); - }); }); describe("Unit: Notification Service", function() {