File: skip_session_test.patch

package info (click to toggle)
ruby-fakeweb 1.3.0%2Bgit20170806%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 464 kB
  • sloc: ruby: 2,058; sh: 24; makefile: 3
file content (17 lines) | stat: -rw-r--r-- 483 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Description: Skip_session_test
 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)