fix test 4

This commit is contained in:
Manuel Araoz 2014-08-19 13:12:05 -04:00
parent f5e7886a72
commit 8709d91b37
1 changed files with 2 additions and 2 deletions

View File

@ -1402,9 +1402,9 @@ describe('Wallet model', function() {
it('#disconnect', function() {
var w = cachedCreateW();
var spy1 = sinon.spy(w.network, 'disconnect');
var spy1 = sinon.spy(w, 'send');
w.disconnect();
spy1.callCount.should.equal(1);
spy1.calledOnce.should.be.true;
});
});