2015-01-11 18:54:36 +02:00
|
|
|
require('es6-promise').polyfill();
|
|
|
|
|
|
|
|
var assert = require('assert');
|
|
|
|
var web3 = require('../index.js');
|
|
|
|
var u = require('./utils.js');
|
|
|
|
|
|
|
|
describe('web3', function() {
|
|
|
|
describe('db', function() {
|
2015-01-15 12:38:21 +02:00
|
|
|
u.methodExists(web3.db, 'put');
|
|
|
|
u.methodExists(web3.db, 'get');
|
|
|
|
u.methodExists(web3.db, 'putString');
|
|
|
|
u.methodExists(web3.db, 'getString');
|
2015-01-11 18:54:36 +02:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|