fixed tests

This commit is contained in:
Mario Colque 2014-05-01 15:12:38 -03:00
parent a825929456
commit a9416ce1cd
2 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,10 @@ var FakeStorage = function(){
this.storage = {};
};
FakeStorage.prototype._setPassphrase = function (password) {
this.storage.passphrase = password;
};
FakeStorage.prototype.setGlobal = function (id, payload) {
this.storage[id] = payload;
};

View File

@ -32,6 +32,7 @@ describe('WalletFactory model', function() {
port: 80
},
networkName: 'testnet',
passphrase: 'test',
};
it('should create the factory', function() {