check wallet status using #isComplete()
This commit is contained in:
parent
240b3322b0
commit
8e105d731a
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue