2015-03-23 22:10:18 +00:00
|
|
|
var chai = require('chai');
|
|
|
|
var assert = chai.assert;
|
2015-10-07 02:32:32 +00:00
|
|
|
var Web3 = require('../index.js');
|
|
|
|
var web3 = new Web3();
|
2015-03-23 22:10:18 +00:00
|
|
|
var u = require('./helpers/test.utils.js');
|
2015-01-11 16:54:36 +00:00
|
|
|
|
2015-03-25 21:22:35 +00:00
|
|
|
describe('web3.shh', function() {
|
|
|
|
describe('methods', function() {
|
2015-01-15 10:38:21 +00:00
|
|
|
u.methodExists(web3.shh, 'post');
|
|
|
|
u.methodExists(web3.shh, 'newIdentity');
|
2015-02-23 17:30:37 +00:00
|
|
|
u.methodExists(web3.shh, 'hasIdentity');
|
2015-01-15 10:38:21 +00:00
|
|
|
u.methodExists(web3.shh, 'newGroup');
|
|
|
|
u.methodExists(web3.shh, 'addToGroup');
|
2015-10-08 06:41:55 +00:00
|
|
|
u.methodExists(web3.shh, 'filter');
|
2015-01-11 16:54:36 +00:00
|
|
|
});
|
|
|
|
});
|
|
|
|
|