Update tests
This commit is contained in:
parent
37b3543da2
commit
e6a9a443cc
4 changed files with 4 additions and 17 deletions
|
|
@ -941,16 +941,6 @@ describe('Wallet model', function() {
|
|||
});
|
||||
});
|
||||
|
||||
describe('#offerBackup', function() {
|
||||
it('should work', function() {
|
||||
var w = cachedCreateW2();
|
||||
w.store = sinon.spy();
|
||||
w.offerBackup();
|
||||
w.backupOffered.should.equal(true);
|
||||
w.store.calledOnce.should.equal(true);
|
||||
});
|
||||
});
|
||||
|
||||
describe('#forceNetwork in config', function() {
|
||||
it('should throw if network is different', function() {
|
||||
var backup = copayConfig.forceNetwork;
|
||||
|
|
@ -960,5 +950,4 @@ describe('Wallet model', function() {
|
|||
copayConfig.forceNetwork = backup;
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue