web3.js/test/web3.db.putHex.js

17 lines
352 B
JavaScript
Raw Normal View History

2015-03-24 11:21:52 +00:00
var chai = require('chai');
var web3 = require('../index');
var testMethod = require('./helpers/test.method.js');
var method = 'putHex';
var tests = [{
args: ['myDB', 'myKey', '0xb'],
formattedArgs: ['myDB', 'myKey', '0xb'],
result: true,
formattedResult: true,
call: 'db_'+ method
}];
testMethod.runTests('db', method, tests);