Sha256: c98886835501b720666bec8e2dbffcb0ddae9eed64c0d353fc43fd359fcd5e32

Contents?: true

Size: 557 Bytes

Versions: 12

Compression:

Stored size: 557 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/spec_helper')

describe "MarketBot" do
  it 'should support changing the default request timeout' do
    MarketBot.timeout = 5
    expect(MarketBot.timeout).to eq(5)
  end

  it 'should support changing the default request connect timeout' do
    MarketBot.connect_timeout = 5
    expect(MarketBot.connect_timeout).to eq(5)
  end

  it 'should support changing the default request user agent' do
    MarketBot.user_agent = 'My Custom Bot'
    expect(MarketBot.user_agent).to eq('My Custom Bot')
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
market_bot-1.3.1 spec/market_bot_spec.rb
market_bot-1.3.0 spec/market_bot_spec.rb
market_bot-1.2.0 spec/market_bot_spec.rb
market_bot-1.1.0 spec/market_bot_spec.rb
market_bot-1.0.7 spec/market_bot_spec.rb
market_bot-1.0.6 spec/market_bot_spec.rb
market_bot-1.0.5 spec/market_bot_spec.rb
market_bot-1.0.4 spec/market_bot_spec.rb
market_bot-1.0.3 spec/market_bot_spec.rb
market_bot-1.0.2 spec/market_bot_spec.rb
market_bot-1.0.1 spec/market_bot_spec.rb
market_bot-1.0.0 spec/market_bot_spec.rb