login working on the UX
This commit is contained in:
parent
7a2906c8d1
commit
92f1bacf82
10 changed files with 125 additions and 72 deletions
|
|
@ -83,6 +83,14 @@ describe('PayPro (in Wallet) model', function() {
|
|||
c.networkName = walletConfig.networkName;
|
||||
c.version = '0.0.1';
|
||||
|
||||
c.network = sinon.stub();
|
||||
c.network.setHexNonce = sinon.stub();
|
||||
c.network.setHexNonces = sinon.stub();
|
||||
c.network.getHexNonce = sinon.stub();
|
||||
c.network.getHexNonces = sinon.stub();
|
||||
c.network.send = sinon.stub();
|
||||
|
||||
|
||||
return new Wallet(c);
|
||||
}
|
||||
|
||||
|
|
@ -683,9 +691,11 @@ describe('PayPro (in Wallet) model', function() {
|
|||
});
|
||||
});
|
||||
|
||||
it('#add tx proposal based on payment message via model', function(done) {
|
||||
it('#add tx proposal based on payment message via model ', function(done) {
|
||||
|
||||
var w = ppw;
|
||||
should.exist(w);
|
||||
|
||||
w.sendPaymentTx(w._ntxid, function(txid, merchantData) {
|
||||
should.exist(txid);
|
||||
should.exist(merchantData);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue