web3.js/test/web3.db.putString.js

17 lines
363 B
JavaScript
Raw Normal View History

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