add getName to sinon stub

This commit is contained in:
Matias Alejo Garcia 2014-11-13 08:44:29 -03:00
commit 6111089e13

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;