renamed few more tests

This commit is contained in:
Marek Kotewicz 2015-03-25 22:22:35 +01:00
parent cbf8ea19cd
commit a1ec1493f9
4 changed files with 6 additions and 6 deletions

View File

@ -11,7 +11,7 @@ var tests = [{
call: 'net_'+ method
}];
describe('net', function () {
describe('web3.net', function () {
describe(method, function () {
tests.forEach(function (test, index) {
it('property test: ' + index, function () {

View File

@ -3,8 +3,8 @@ var assert = chai.assert;
var web3 = require('../index.js');
var u = require('./helpers/test.utils.js');
describe('web3', function() {
describe('net', function() {
describe('web3.net', function() {
describe('methods', function() {
u.propertyExists(web3.net, 'listening');
u.propertyExists(web3.net, 'peerCount');
});

View File

@ -11,7 +11,7 @@ var tests = [{
call: 'net_'+ method
}];
describe('net', function () {
describe('web3.net', function () {
describe(method, function () {
tests.forEach(function (test, index) {
it('property test: ' + index, function () {

View File

@ -3,8 +3,8 @@ var assert = chai.assert;
var web3 = require('../index.js');
var u = require('./helpers/test.utils.js');
describe('web3', function() {
describe('shh', function() {
describe('web3.shh', function() {
describe('methods', function() {
u.methodExists(web3.shh, 'post');
u.methodExists(web3.shh, 'newIdentity');
u.methodExists(web3.shh, 'hasIdentity');