Sha256: d5337c81a8e69128a2fc307d5f5952653d6ac4ef0479ed926f7ea2f082806de1

Contents?: true

Size: 353 Bytes

Versions: 13

Compression:

Stored size: 353 Bytes

Contents

require 'spec_helper'

describe Etherscanio::Api do
  describe 'contract_getabi' do
    subject { Etherscanio::Api.new(apikey).contract_getabi(address) }

    context 'one address' do
      let(:apikey) { 'YourApiKeyToken' }
      let(:address) { '0xde0b295669a9fd93d5f28d9ec85e40f4cb697bae' }
      it { is_expected.to be_a(Object) }
    end
  end
end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
etherscan-0.1.4 spec/api/contract_spec.rb
etherscan-0.1.3 spec/api/contract_spec.rb
etherscan-0.1.2 spec/api/contract_spec.rb
etherscan-0.1.1 spec/api/contract_spec.rb
etherscan-0.1.0 spec/api/contract_spec.rb
etherscan-0.0.9 spec/api/contract_spec.rb
etherscan-0.0.8 spec/api/contract_spec.rb
etherscan-0.0.7 spec/api/contract_spec.rb
etherscan-0.0.6 spec/api/contract_spec.rb
etherscanio-0.0.5 spec/api/contract_spec.rb
etherscanio-0.0.4 spec/api/contract_spec.rb
etherscanio-0.0.3 spec/api/contract_spec.rb
etherscanio-0.0.1 spec/api/contract_spec.rb