Merge pull request #1794 from matiu/karma

add getName to sinon stub
This commit is contained in:
Matias Alejo Garcia 2014-11-13 08:47:09 -03:00
commit af611a864d
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;