diff options
Diffstat (limited to 'cmd/mist/assets/ext/ethereum.js/test/db.methods.js')
-rw-r--r-- | cmd/mist/assets/ext/ethereum.js/test/db.methods.js | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmd/mist/assets/ext/ethereum.js/test/db.methods.js b/cmd/mist/assets/ext/ethereum.js/test/db.methods.js new file mode 100644 index 000000000..2ad384579 --- /dev/null +++ b/cmd/mist/assets/ext/ethereum.js/test/db.methods.js @@ -0,0 +1,14 @@ + +var assert = require('assert'); +var web3 = require('../index.js'); +var u = require('./test.utils.js'); + +describe('web3', function() { + describe('db', function() { + u.methodExists(web3.db, 'put'); + u.methodExists(web3.db, 'get'); + u.methodExists(web3.db, 'putString'); + u.methodExists(web3.db, 'getString'); + }); +}); + |