add getName to sinon stub

This commit is contained in:
Matias Alejo Garcia 2014-11-13 08:44:29 -03:00
parent ff810a51cc
commit 6111089e13
1 changed files with 1 additions and 0 deletions

View File

@ -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;