Sha256: f7d8f5ecc207e5e7d9ed06005019b01c57f4df5e9c5d64fd90deba8a48b632dc

Contents?: true

Size: 461 Bytes

Versions: 4

Compression:

Stored size: 461 Bytes

Contents

unless (RUBY_VERSION < '1.9' or (defined? RUBY_ENGINE and 'jruby' == RUBY_ENGINE))
  require "hot_tub/clients/excon_client"
  require 'test_helper_methods'
  require 'excon'
  include TestHelperMethods
  describe HotTub::ExconClient do
    before(:each) do
      @url = "https://www.google.com"
    end
  
    it "Keep alive should work" do
      keep_alive_test HotTub::ExconClient.new(@url) do |client| 
        client.get.status
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hot_tub-0.0.4 spec/excon_client_spec.rb
hot_tub-0.0.3 spec/excon_client_spec.rb
hot_tub-0.0.2 spec/excon_client_spec.rb
hot_tub-0.0.1 spec/excon_client_spec.rb