check wallet status using #isComplete()

This commit is contained in:
Ivan Socolsky 2015-02-09 10:16:56 -03:00
parent 240b3322b0
commit 8e105d731a
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ describe('Wallet', function() {
describe('#fromObj', function() { describe('#fromObj', function() {
it('read a wallet', function() { it('read a wallet', function() {
var w = Wallet.fromObj(testWallet); var w = Wallet.fromObj(testWallet);
w.status.should.equal('complete'); w.isComplete().should.be.true;
}); });
}); });
describe('#createAddress', function() { describe('#createAddress', function() {