Sha256: 7ee347c611df1d7807820441469451435a8c93f1ab00d949ad7f1ad4112fce68

Contents?: true

Size: 580 Bytes

Versions: 11

Compression:

Stored size: 580 Bytes

Contents

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

module Adapters
  class EMHttpTest < Faraday::TestCase

    def adapter() :em_http end

    Integration.apply(self, :Parallel) do
      # https://github.com/eventmachine/eventmachine/pull/289
      undef :test_timeout

      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? and ssl_mode?
    # https://github.com/eventmachine/eventmachine/issues/180
  end
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
faraday-0.9.1 test/adapters/em_http_test.rb
whos_dated_who-0.1.0 vendor/bundle/gems/faraday-0.9.0/test/adapters/em_http_test.rb
whos_dated_who-0.0.1 vendor/bundle/gems/faraday-0.9.0/test/adapters/em_http_test.rb
faraday-0.9.0 test/adapters/em_http_test.rb
faraday-0.9.0.rc7 test/adapters/em_http_test.rb
faraday-0.9.0.rc6 test/adapters/em_http_test.rb
faraday-0.9.0.rc5 test/adapters/em_http_test.rb
faraday-0.9.0.rc4 test/adapters/em_http_test.rb
faraday-0.9.0.rc3 test/adapters/em_http_test.rb
faraday-0.9.0.rc2 test/adapters/em_http_test.rb
faraday-0.9.0.rc1 test/adapters/em_http_test.rb