spec/etherscan/accounts_spec.rb in etherscan_api-0.2.0 vs spec/etherscan/accounts_spec.rb in etherscan_api-0.3.0

- old
+ new

@@ -46,10 +46,10 @@ 'input' => '0x', 'contractAddress' => '', 'cumulativeGasUsed' => '7983481', 'gasUsed' => '21000', 'confirmations' => '634499' } ] response = { 'status' => '1', 'message' => 'OK', 'result' => transactions } - params = { module: 'account', action: 'txlist', address: address, sort: 'asc' } + params = { module: 'account', action: 'txlist', address: address } expect(connection_mock).to receive(:get).with(params).and_return(response) expected_response = subject.normal_transactions(address) expect(expected_response).to eq(response['result']) end end