Sha256: 12ed816873cf7b7d6c82cd7d8e6592e45752fd7ec82fc19392c3b447718c371b
Contents?: true
Size: 470 Bytes
Versions: 6
Compression:
Stored size: 470 Bytes
Contents
require 'spec_helper' describe IEX::Api::Config do before do IEX::Api.config.reset! end describe '#defaults' do it 'sets endpoint' do expect(IEX::Api.config.endpoint).to eq 'https://cloud.iexapis.com/v1' end end describe '#configure' do before do IEX::Api.configure do |config| config.endpoint = 'updated' end end it 'sets endpoint' do expect(IEX::Api.config.endpoint).to eq 'updated' end end end
Version data entries
6 entries across 6 versions & 1 rubygems