back to TingoDB

This commit is contained in:
Ivan Socolsky 2015-04-29 18:47:40 -03:00
parent fa9a8cd38c
commit 5bd4f7a565
1 changed files with 13 additions and 13 deletions

View File

@ -233,19 +233,19 @@ function resetDb(cb) {
describe('Wallet service', function() { describe('Wallet service', function() {
before(function(done) { before(function(done) {
// openDb(function() { openDb(function() {
// storage = new Storage({ storage = new Storage({
// db: db db: db
// }); });
// done(); done();
// }); });
storage = new Storage(); // storage = new Storage();
storage.connect({ // storage.connect({
mongoDb: { // mongoDb: {
uri: 'mongodb://localhost:27017/bws_test' // uri: 'mongodb://localhost:27017/bws_test'
} // }
}, done); // }, done);
}); });
beforeEach(function(done) { beforeEach(function(done) {
resetDb(function() { resetDb(function() {
blockchainExplorer = sinon.stub(); blockchainExplorer = sinon.stub();