test/integration/transport_test.rb in elasticsearch-transport-1.0.1 vs test/integration/transport_test.rb in elasticsearch-transport-1.0.2
- old
+ new
@@ -13,17 +13,9 @@
should "allow to customize the Faraday adapter" do
require 'typhoeus'
require 'typhoeus/adapters/faraday'
- # Fix for unreleased Typhoeus version (https://github.com/typhoeus/typhoeus/commit/00da90f)
- #
- class ::Faraday::Adapter::Typhoeus
- def configure_ssl(req, env)
- # noop
- end
- end
-
transport = Elasticsearch::Transport::Transport::HTTP::Faraday.new \
:hosts => [ { :host => 'localhost', :port => @port } ] do |f|
f.response :logger
f.adapter :typhoeus
end