fixed test
This commit is contained in:
parent
05e836424a
commit
dbf1ae2f64
1 changed files with 2 additions and 1 deletions
|
|
@ -1609,10 +1609,11 @@ describe('Wallet model', function() {
|
|||
new: false,
|
||||
hasChanged: true,
|
||||
});
|
||||
w._checkSentTx = sinon.stub().yields(true);
|
||||
w._checkSentTx = sinon.stub().yields('123');
|
||||
|
||||
w._onTxProposal('senderID', data);
|
||||
txp.setSent.calledOnce.should.be.true;
|
||||
txp.setSent.calledWith('123').should.be.true;
|
||||
w.sendTxProposal.called.should.be.false;
|
||||
done();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue