File: skip_session_test.patch

package info (click to toggle)
ruby-fakeweb 1.3.0%2Bgit20170806%2Bdfsg1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 380 kB
  • sloc: ruby: 2,057; sh: 24; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Skip failing test.

See https://bugs.debian.org/926381

--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -118,10 +118,6 @@
       else
         socket.expects(:connect).with().at_least_once
       end
-
-      if RUBY_VERSION >= "2.0.0" && RUBY_PLATFORM != "java"
-        socket.expects(:session).with().at_least_once
-      end
     else
       socket = mock("TCPSocket")
       Socket.expects(:===).with(socket).at_least_once.returns(true)