From 6111089e13ee57a9693ffe21afa10e74a3b3af4e Mon Sep 17 00:00:00 2001 From: Matias Alejo Garcia Date: Thu, 13 Nov 2014 08:44:29 -0300 Subject: [PATCH] add getName to sinon stub --- test/unit/controllers/controllersSpec.js | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/controllers/controllersSpec.js b/test/unit/controllers/controllersSpec.js index d0f2ed612..3dc682211 100644 --- a/test/unit/controllers/controllersSpec.js +++ b/test/unit/controllers/controllersSpec.js @@ -93,6 +93,7 @@ describe("Unit: Controllers", function() { iden.getLastFocusedWallet = sinon.stub().returns(null); iden.listWallets = sinon.stub().returns([w]); iden.getWalletById = sinon.stub().returns(w); + iden.getName = sinon.stub().returns('name'); $rootScope.wallet = w; $rootScope.iden = iden;