avoiding Identity#bindWallet from tests

This commit is contained in:
Ivan Socolsky 2014-12-01 15:48:26 -03:00
parent e308fd6f92
commit 2840fd7813
1 changed files with 1 additions and 2 deletions

View File

@ -215,7 +215,7 @@ describe('Identity model', function() {
getName: sinon.stub().returns('wallet' + i),
close: sinon.stub(),
};
iden.bindWallet(w);
iden.wallets[w.getId()] = w;
});
iden.remove(null, function(err, res) {
@ -225,7 +225,6 @@ describe('Identity model', function() {
storage.removeItem.getCall(3).args[0].should.equal(iden.getId());
done();
});
});
});