Sha256: ad5f7ee8fd828b83a8ca6b876792d877594e1445f2de7768ffc968ed82750c8e
Contents?: true
Size: 344 Bytes
Versions: 13
Compression:
Stored size: 344 Bytes
Contents
require 'spec_helper' describe Etherscanio::Call do let(:uri) { 'http://api.etherscan.io/api?' } subject do call = Etherscanio::Call.new('foo', 'bar') call.api_key = api_key call.to_s end context 'with api_key' do let(:api_key) { '123' } it { is_expected.to eq(uri + 'module=foo&action=bar&apikey=123') } end end
Version data entries
13 entries across 13 versions & 2 rubygems