Remove Name field and copayer list on 1-of-1 wallets

This commit is contained in:
Yemel Jardi 2014-08-04 16:27:58 -03:00
commit 523a48b056
7 changed files with 21 additions and 9 deletions

View file

@ -363,6 +363,14 @@ describe('Wallet model', function() {
}, w.reconnectDelay * callCount * (callCount + 1) / 2);
});
it('#isSingleUser', function() {
var w = createW();
w.isShared().should.equal(true);
w.totalCopayers = 1;
w.isShared().should.equal(false);
});
it('#isReady', function() {
var w = createW();
w.publicKeyRing.isComplete().should.equal(false);