From f13a72708f4835b57127a4767c18e4d4d64a3bd0 Mon Sep 17 00:00:00 2001 From: Fabian Vogelsteller Date: Mon, 23 Mar 2015 17:27:14 +0100 Subject: [PATCH] add accounts test --- test/eth.getBalance.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/eth.getBalance.js b/test/eth.getBalance.js index bd0ce73..0c798bb 100644 --- a/test/eth.getBalance.js +++ b/test/eth.getBalance.js @@ -10,25 +10,25 @@ var tests = [{ formattedArgs: ['0x12d', '0x2'], result: '0x31981', formattedResult: '0x31981', - call: 'eth_getBalance' + call: 'eth_'+ method },{ args: ['0x12d', '0x1'], formattedArgs: ['0x12d', '0x1'], result: '0x31981', formattedResult: '0x31981', - call: 'eth_getBalance' + call: 'eth_'+ method }, { args: [0x12d, 0x1], formattedArgs: ['0x12d', '0x1'], result: '0x31981', formattedResult: '0x31981', - call: 'eth_getBalance' + call: 'eth_'+ method }, { args: [0x12d], formattedArgs: ['0x12d', web3.eth.defaultBlock], result: '0x31981', formattedResult: '0x31981', - call: 'eth_getBalance' + call: 'eth_'+ method }]; describe('eth', function () {