Adding test for Identity

This commit is contained in:
Matias Pando 2015-01-07 18:25:36 -03:00
commit f7c1e3d4ab
3 changed files with 49 additions and 3 deletions

View file

@ -548,6 +548,10 @@ describe('PublicKeyRing model', function() {
ret.pubKeys[1].length.should.equal(5);
});
it('#myCopayerId should return first copayerId ', function() {
var w = getCachedW().w;
w.myCopayerId().should.be.equal(w.getCopayerId(0));
});
});