aboutsummaryrefslogtreecommitdiffstats
path: root/test/web3.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/web3.methods.js
parent472ad43211e120bdbf1c16a8a49b297164cc4b13 (diff)
downloadgo-tangerine-bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84.tar
go-tangerine-bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84.tar.gz
go-tangerine-bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84.tar.bz2
go-tangerine-bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84.tar.lz
go-tangerine-bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84.tar.xz
go-tangerine-bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84.tar.zst
go-tangerine-bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84.zip
methodExists and propertyExists are now separated tests
Diffstat (limited to 'test/web3.methods.js')
-rw-r--r--test/web3.methods.js14
1 files changed, 6 insertions, 8 deletions
diff --git a/test/web3.methods.js b/test/web3.methods.js
index a7e020978..5c30177e5 100644
--- a/test/web3.methods.js
+++ b/test/web3.methods.js
@@ -6,13 +6,11 @@ var u = require('./utils.js');
web3.setProvider(new web3.providers.WebSocketProvider('http://localhost:8080')); // TODO: create some mock provider
describe('web3', function() {
- it('should have all methods implemented', function() {
- u.methodExists(web3, 'sha3');
- u.methodExists(web3, 'toAscii');
- u.methodExists(web3, 'fromAscii');
- u.methodExists(web3, 'toFixed');
- u.methodExists(web3, 'fromFixed');
- u.methodExists(web3, 'offset');
- });
+ u.methodExists(web3, 'sha3');
+ u.methodExists(web3, 'toAscii');
+ u.methodExists(web3, 'fromAscii');
+ u.methodExists(web3, 'toFixed');
+ u.methodExists(web3, 'fromFixed');
+ u.methodExists(web3, 'offset');
});