fix p2p connecting

This commit is contained in:
Matias Alejo Garcia 2014-04-18 11:19:39 -03:00
commit ba8a0e83d2
6 changed files with 46 additions and 15 deletions

View file

@ -39,6 +39,12 @@ describe('WalletFactory model', function() {
var wf = new WalletFactory(config);
should.exist(wf);
});
it('#_checkRead should return fail', function() {
var wf = new WalletFactory(config);
wf._checkRead('dummy').should.equal(false);
wf.read('dummy').should.equal(false);
});
it('should be able to create wallets', function() {
var wf = new WalletFactory(config);
var w = wf.create();