From d4d33ed2e725d9a14b0642629abfe90c08224913 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Fri, 8 Aug 2014 13:37:25 -0700 Subject: [PATCH] paypro: update tests to use wallet.isShared(). --- test/test.PayPro.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test.PayPro.js b/test/test.PayPro.js index 1d4745646..d25a84d13 100644 --- a/test/test.PayPro.js +++ b/test/test.PayPro.js @@ -728,7 +728,7 @@ describe('PayPro (in Wallet) model', function() { }, function(ntxid, merchantData) { should.exist(ntxid); should.exist(merchantData); - if (w.totalCopayers > 1) { + if (w.isShared()) { return done(); } else { w.sendPaymentTx(ntxid, { memo: memo }, function(txid, merchantData) { @@ -755,7 +755,7 @@ describe('PayPro (in Wallet) model', function() { } w.createTx(uri, commentText, function(ntxid, merchantData) { - if (w.totalCopayers > 1) { + if (w.isShared()) { should.exist(ntxid); should.exist(merchantData); return done(); @@ -776,7 +776,7 @@ describe('PayPro (in Wallet) model', function() { var address = 'bitcoin:2NBzZdFBoQymDgfzH2Pmnthser1E71MmU47?amount=0.00003&r=' + server.uri + '/request'; var commentText = 'Hello, server. I\'d like to make a payment.'; w.createTx(address, commentText, function(ntxid, merchantData) { - if (w.totalCopayers > 1) { + if (w.isShared()) { should.exist(ntxid); should.exist(merchantData); return done();