resolved
This commit is contained in:
parent
94221a312f
commit
81a73e6f2a
5 changed files with 51 additions and 12 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue