Sha256: 6163566c9b362cbdd7e8a9bda0c24d715991530a78f937f84a7b4384a852402f
Contents?: true
Size: 480 Bytes
Versions: 4
Compression:
Stored size: 480 Bytes
Contents
if RUBY_VERSION < '1.9' or (defined? RUBY_ENGINE and 'jruby' == RUBY_ENGINE) require "hot_tub/clients/http_client_client" require 'test_helper_methods' include TestHelperMethods describe HotTub::HttpClientClient do before(:each) do @url = "https://www.google.com" end it "Keep alive should work" do keep_alive_test HotTub::HttpClientClient.new(:url => @url) do |client| c = client.get('') c.status_code end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
hot_tub-0.0.4 | spec/http_client_client_spec.rb |
hot_tub-0.0.3 | spec/http_client_client_spec.rb |
hot_tub-0.0.2 | spec/http_client_client_spec.rb |
hot_tub-0.0.1 | spec/http_client_client_spec.rb |