Sha256: cbeda0332aa9f59fd660667363f6f72f00719faac73cf857304f896e52ab1928

Contents?: true

Size: 411 Bytes

Versions: 6

Compression:

Stored size: 411 Bytes

Contents

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

module Adapters
  class HttpclientTest < Faraday::TestCase

    def adapter() :httpclient end

    Integration.apply(self, :NonParallel) do
      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
  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
faraday-0.9.0.rc5 test/adapters/httpclient_test.rb
faraday-0.9.0.rc4 test/adapters/httpclient_test.rb
faraday-0.9.0.rc3 test/adapters/httpclient_test.rb
faraday-0.9.0.rc2 test/adapters/httpclient_test.rb
faraday-0.9.0.rc1 test/adapters/httpclient_test.rb
avdi-faraday-0.8.1 test/adapters/httpclient_test.rb