Sha256: 88ac20d02298f9b8a7c735571ecfeb702e34be54e077532112f4b69814c6dca1

Contents?: true

Size: 820 Bytes

Versions: 6

Compression:

Stored size: 820 Bytes

Contents

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

module Adapters
  class TyphoeusTest < Faraday::TestCase

    def adapter() :typhoeus end

    Integration.apply(self, :Parallel) do
      # https://github.com/dbalatero/typhoeus/issues/75
      undef :test_GET_with_body

      # Not a Typhoeus bug, but WEBrick inability to handle "100-continue"
      # which libcurl seems to generate for this particular request:
      undef :test_POST_sends_files

      # inconsistent outcomes ranging from successful response to connection error
      undef :test_proxy_auth_fail if ssl_mode?

      def test_binds_local_socket
        host = '1.2.3.4'
        conn = create_connection :request => { :bind => { :host => host } }
        assert_equal host, conn.options[:bind][:host]
      end

    end unless jruby?
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

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