File: disable-patron-test.patch

package info (click to toggle)
ruby-elasticsearch 1.0.12-1
  • links: PTS, VCS
  • area: main
  • in suites: buster, stretch
  • size: 2,812 kB
  • ctags: 2,451
  • sloc: ruby: 18,512; makefile: 2
file content (19 lines) | stat: -rw-r--r-- 749 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Index: ruby-elasticsearch/elasticsearch-transport/test/unit/client_test.rb
===================================================================
--- ruby-elasticsearch.orig/elasticsearch-transport/test/unit/client_test.rb
+++ ruby-elasticsearch/elasticsearch-transport/test/unit/client_test.rb
@@ -249,14 +249,6 @@ class Elasticsearch::Transport::ClientTe
         assert_includes handlers, Faraday::Adapter::Typhoeus
       end
 
-      should "detect the adapter" do
-        require 'patron'; load 'patron.rb'
-
-        c = Elasticsearch::Transport::Client.new
-        handlers = c.transport.connections.all.first.connection.builder.handlers
-
-        assert_includes handlers, Faraday::Adapter::Patron
-      end unless JRUBY
     end
 
   end