diff --git a/test/adapters/live_test.rb b/test/adapters/live_test.rb index dca89ad7..4d950e06 100644 --- a/test/adapters/live_test.rb +++ b/test/adapters/live_test.rb @@ -84,7 +84,11 @@ else end assert_equal %({"first"=>"zack"}), resp.body end + end + # https://github.com/toland/patron/issues/9 + # https://github.com/dbalatero/typhoeus/issues/84 + if ENV['FORCE'] || !%w[Faraday::Adapter::Patron Faraday::Adapter::Typhoeus].include?(adapter.to_s) define_method "test_#{adapter}_PUT_retrieves_the_response_headers" do assert_match /text\/html/, create_connection(adapter).put('echo_name').headers['content-type'] end