2015-03-23 23:10:18 +01:00
|
|
|
var chai = require('chai');
|
|
|
|
var assert = chai.assert;
|
2015-10-07 04:32:32 +02:00
|
|
|
var Web3 = require('../index.js');
|
|
|
|
var web3 = new Web3();
|
2015-03-23 23:10:18 +01:00
|
|
|
var u = require('./helpers/test.utils.js');
|
2015-01-11 17:54:36 +01:00
|
|
|
|
2015-03-25 22:17:35 +01:00
|
|
|
describe('web3.db', function() {
|
|
|
|
describe('methods', function() {
|
2015-03-12 16:33:19 +01:00
|
|
|
u.methodExists(web3.db, 'putHex');
|
|
|
|
u.methodExists(web3.db, 'getHex');
|
2015-01-15 11:38:21 +01:00
|
|
|
u.methodExists(web3.db, 'putString');
|
|
|
|
u.methodExists(web3.db, 'getString');
|
2015-01-11 17:54:36 +01:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|