aboutsummaryrefslogtreecommitdiffstats
path: root/test/db.methods.js
diff options
context:
space:
mode:
authorMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-15 18:38:21 +0800
committerMarek Kotewicz <marek.kotewicz@gmail.com>2015-01-15 18:38:21 +0800
commitbacc5aa6d3dcaf464e19448341dcc8dfc17bcd84 (patch)
treea62c488e7c86cd92b49cc30a840f1faf05a1fb44 /test/db.methods.js
parent472ad43211e120bdbf1c16a8a49b297164cc4b13 (diff)
downloadgo-tangerine-bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84.tar.gz
go-tangerine-bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84.tar.zst
go-tangerine-bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84.zip
methodExists and propertyExists are now separated tests
Diffstat (limited to 'test/db.methods.js')
-rw-r--r--test/db.methods.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/test/db.methods.js b/test/db.methods.js
index b4abfc4d7..662f4e7cc 100644
--- a/test/db.methods.js
+++ b/test/db.methods.js
@@ -7,12 +7,10 @@ web3.setProvider(new web3.providers.WebSocketProvider('http://localhost:8080'));
describe('web3', function() {
describe('db', function() {
- it('should have all methods implemented', function() {
- u.methodExists(web3.db, 'put');
- u.methodExists(web3.db, 'get');
- u.methodExists(web3.db, 'putString');
- u.methodExists(web3.db, 'getString');
- });
+ u.methodExists(web3.db, 'put');
+ u.methodExists(web3.db, 'get');
+ u.methodExists(web3.db, 'putString');
+ u.methodExists(web3.db, 'getString');
});
});