diff options
author | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-15 18:38:21 +0800 |
---|---|---|
committer | Marek Kotewicz <marek.kotewicz@gmail.com> | 2015-01-15 18:38:21 +0800 |
commit | bacc5aa6d3dcaf464e19448341dcc8dfc17bcd84 (patch) | |
tree | a62c488e7c86cd92b49cc30a840f1faf05a1fb44 /test/shh.methods.js | |
parent | 472ad43211e120bdbf1c16a8a49b297164cc4b13 (diff) | |
download | go-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/shh.methods.js')
-rw-r--r-- | test/shh.methods.js | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/test/shh.methods.js b/test/shh.methods.js index 08f573a3c..f2f56edbc 100644 --- a/test/shh.methods.js +++ b/test/shh.methods.js @@ -7,13 +7,11 @@ web3.setProvider(new web3.providers.WebSocketProvider('http://localhost:8080')); describe('web3', function() { describe('shh', function() { - it('should have all methods implemented', function() { - u.methodExists(web3.shh, 'post'); - u.methodExists(web3.shh, 'newIdentity'); - u.methodExists(web3.shh, 'haveIdentity'); - u.methodExists(web3.shh, 'newGroup'); - u.methodExists(web3.shh, 'addToGroup'); - }); + u.methodExists(web3.shh, 'post'); + u.methodExists(web3.shh, 'newIdentity'); + u.methodExists(web3.shh, 'haveIdentity'); + u.methodExists(web3.shh, 'newGroup'); + u.methodExists(web3.shh, 'addToGroup'); }); }); |