fix test 4
This commit is contained in:
parent
f5e7886a72
commit
8709d91b37
1 changed files with 2 additions and 2 deletions
|
|
@ -1402,9 +1402,9 @@ describe('Wallet model', function() {
|
||||||
|
|
||||||
it('#disconnect', function() {
|
it('#disconnect', function() {
|
||||||
var w = cachedCreateW();
|
var w = cachedCreateW();
|
||||||
var spy1 = sinon.spy(w.network, 'disconnect');
|
var spy1 = sinon.spy(w, 'send');
|
||||||
w.disconnect();
|
w.disconnect();
|
||||||
spy1.callCount.should.equal(1);
|
spy1.calledOnce.should.be.true;
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue