fix test 5

This commit is contained in:
Manuel Araoz 2014-08-19 13:19:16 -04:00
commit 6fa50f1dc2

View file

@ -1093,8 +1093,8 @@ describe('Wallet model', function() {
it('should throw if network is different', function() {
var backup = copayConfig.forceNetwork;
copayConfig.forceNetwork = true;
config.networkName = 'testnet';
cachedCreateW2.should.throw(Error);
config.networkName = 'livenet';
createW2.should.throw(Error);
copayConfig.forceNetwork = backup;
});
});