test/integration/transport_test.rb in elasticsearch-transport-1.0.0 vs test/integration/transport_test.rb in elasticsearch-transport-1.0.1
- old
+ new
@@ -6,9 +6,10 @@
end
context "Transport" do
setup do
@port = (ENV['TEST_CLUSTER_PORT'] || 9250).to_i
+ begin; Object.send(:remove_const, :Patron); rescue NameError; end
end
should "allow to customize the Faraday adapter" do
require 'typhoeus'
require 'typhoeus/adapters/faraday'