This commit is contained in:
Ivan Socolsky 2014-09-12 10:40:47 -03:00
commit 81a73e6f2a
5 changed files with 51 additions and 12 deletions

View file

@ -1221,6 +1221,15 @@ describe('Wallet model', function() {
});
});
describe('#getMyCopayerNickname', function() {
it('should call publicKeyRing.nicknameForCopayer', function() {
var w = cachedCreateW2();
w.publicKeyRing.nicknameForCopayer = sinon.spy();
w.getMyCopayerNickname();
w.publicKeyRing.nicknameForCopayer.calledOnce.should.equal(true);
});
});
describe('#netStart', function() {
it('should call Network.start', function() {
var w = cachedCreateW2();