fix pending notification
This commit is contained in:
parent
10938b43d8
commit
4e54fe6cf7
5 changed files with 39 additions and 39 deletions
|
|
@ -2462,10 +2462,15 @@ describe('Wallet model', function() {
|
|||
});
|
||||
});
|
||||
|
||||
// TODO
|
||||
describe.skip('#onPayProPaymentAck', function() {
|
||||
it('should emit', function() {
|
||||
var w = cachedCreateW2();
|
||||
sinon.stub(w,'emitAndKeepAlive');
|
||||
w.onPayProPaymentAck('id', 'data');
|
||||
|
||||
w.calledOnce.should.equal(true);
|
||||
w.getCall(0).args.should.deep.equal(['paymentACK', 'data']);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue