Sha256: b40b4f34e88eec253e6586d60ed319415db5baba03948e6c3cedcd90c7df9d72

Contents?: true

Size: 537 Bytes

Versions: 6

Compression:

Stored size: 537 Bytes

Contents

require File.expand_path('../integration', __FILE__)

module Adapters
  class NetHttpPersistentTest < Faraday::TestCase

    def adapter() :net_http_persistent end

    Integration.apply(self, :NonParallel) do
      def setup
        if defined?(Net::HTTP::Persistent)
          # work around problems with mixed SSL certificates
          # https://github.com/drbrain/net-http-persistent/issues/45
          http = Net::HTTP::Persistent.new('Faraday')
          http.ssl_cleanup(4)
        end
      end if ssl_mode?
    end

  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
faraday-0.9.1 test/adapters/net_http_persistent_test.rb
whos_dated_who-0.1.0 vendor/bundle/gems/faraday-0.9.0/test/adapters/net_http_persistent_test.rb
whos_dated_who-0.0.1 vendor/bundle/gems/faraday-0.9.0/test/adapters/net_http_persistent_test.rb
faraday-0.9.0 test/adapters/net_http_persistent_test.rb
faraday-0.9.0.rc7 test/adapters/net_http_persistent_test.rb
faraday-0.9.0.rc6 test/adapters/net_http_persistent_test.rb