2015-03-24 10:16:21 +00:00
|
|
|
var chai = require('chai');
|
|
|
|
var web3 = require('../index');
|
|
|
|
var testMethod = require('./helpers/test.method.js');
|
|
|
|
|
|
|
|
var method = 'getCompilers';
|
|
|
|
|
|
|
|
|
|
|
|
var tests = [{
|
|
|
|
args: [],
|
|
|
|
formattedArgs: [],
|
|
|
|
result: ['solidity'],
|
|
|
|
formattedResult: ['solidity'],
|
|
|
|
call: 'eth_'+ method
|
|
|
|
},{
|
|
|
|
args: [],
|
|
|
|
formattedArgs: [],
|
|
|
|
result: ['solidity'],
|
|
|
|
formattedResult: ['solidity'],
|
|
|
|
call: 'eth_'+ method
|
|
|
|
}];
|
|
|
|
|
2015-03-24 10:44:33 +00:00
|
|
|
testMethod.runTests('eth', method, tests);
|
2015-03-24 10:16:21 +00:00
|
|
|
|