From 8e105d731a18ef41d47d486a2c8d662038b052bf Mon Sep 17 00:00:00 2001 From: Ivan Socolsky Date: Mon, 9 Feb 2015 10:16:56 -0300 Subject: [PATCH] check wallet status using #isComplete() --- test/wallet.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/wallet.js b/test/wallet.js index ae0be20..c8b7620 100644 --- a/test/wallet.js +++ b/test/wallet.js @@ -12,7 +12,7 @@ describe('Wallet', function() { describe('#fromObj', function() { it('read a wallet', function() { var w = Wallet.fromObj(testWallet); - w.status.should.equal('complete'); + w.isComplete().should.be.true; }); }); describe('#createAddress', function() {