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