From c8d24cc4203bd783b46716bc10cae2c40f17891a Mon Sep 17 00:00:00 2001 From: Yemel Jardi Date: Tue, 5 Aug 2014 10:21:29 -0300 Subject: [PATCH] Add mock method at FakeWallet --- test/mocks/FakeWallet.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/mocks/FakeWallet.js b/test/mocks/FakeWallet.js index 945e584e9..bdca60a5c 100644 --- a/test/mocks/FakeWallet.js +++ b/test/mocks/FakeWallet.js @@ -46,6 +46,10 @@ FakeWallet.prototype.getAddressesInfo = function() { return ret; }; +FakeWallet.prototype.isShared = function() { + return this.totalCopayers > 1; +} + FakeWallet.prototype.isReady = function() { return true; }