fix pending notification

This commit is contained in:
Matias Alejo Garcia 2014-11-25 15:09:51 -03:00
commit 4e54fe6cf7
5 changed files with 39 additions and 39 deletions

View file

@ -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']);
});
});