Sha256: a13700a2ab5fec2587b094699dce6b7545f8fd5a90f4ccdc9c2075622451bac7

Contents?: true

Size: 346 Bytes

Versions: 13

Compression:

Stored size: 346 Bytes

Contents

require 'spec_helper'

describe IEX::Resources::Logo do
  include_context 'client'

  context "retrieves company's logo", vcr: { cassette_name: 'logo/msft' } do
    subject do
      client.logo('MSFT')
    end

    it 'retrieves a logo' do
      expect(subject.url).to eq 'https://storage.googleapis.com/iex/api/logos/MSFT.png'
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
iex-ruby-client-2.1.0 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-2.0.0 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-1.6.0 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-1.5.0 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-1.4.1 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-1.4.0 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-1.3.0 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-1.2.0 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-1.1.2 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-1.1.1 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-1.1.0 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-1.0.1 spec/iex/endpoints/logo_spec.rb
iex-ruby-client-1.0.0 spec/iex/endpoints/logo_spec.rb