Sha256: 5311660d65d018cea498429105787836e188c84461092d95c75df809f3f282e1
Contents?: true
Size: 549 Bytes
Versions: 1
Compression:
Stored size: 549 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 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 unless defined? RUBY_ENGINE and 'jruby' == RUBY_ENGINE end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
avdi-faraday-0.8.1 | test/adapters/typhoeus_test.rb |