fix wallet stub

This commit is contained in:
Matias Alejo Garcia 2014-12-02 03:10:00 -03:00
parent 9c8090b06d
commit ae036d5aa8
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ describe("Unit: Controllers", function() {
'e': 'errmsg',
'loading': false
});
w.sizes = sinon.stub().returns({tota:1234});
w.getBalance = sinon.stub().returns(10000);
w.publicKeyRing = sinon.stub().yields(null);
w.publicKeyRing.nicknameForCopayer = sinon.stub().returns('nickcopayer');