Date: Thu, 09 Aug 2012 18:47:53 -0500
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=684421
Origin: Debian
Forwarded: Not-needed
Author: Gunnar Wolf <gwolf@debian.org>
Description: Fix FTBFS when built with no network access

Index: ruby-net-http-persistent/test/test_net_http_persistent.rb
===================================================================
--- ruby-net-http-persistent.orig/test/test_net_http_persistent.rb
+++ ruby-net-http-persistent/test/test_net_http_persistent.rb
@@ -439,6 +439,7 @@ class TestNetHttpPersistent < Minitest::
   end
 
   def test_connection_for_http_class_with_fakeweb
+    skip 'No network access can be assumed at Debian package build time'
     Object.send :const_set, :FakeWeb, nil
     c = @http.connection_for @uri
     assert_instance_of Net::HTTP, c
@@ -449,6 +450,7 @@ class TestNetHttpPersistent < Minitest::
   end
 
   def test_connection_for_http_class_with_webmock
+    skip 'No network access can be assumed at Debian package build time'
     Object.send :const_set, :WebMock, nil
     c = @http.connection_for @uri
     assert_instance_of Net::HTTP, c
@@ -480,6 +482,7 @@ class TestNetHttpPersistent < Minitest::
   end
 
   def test_connection_for_no_ssl_reuse
+    skip 'No network access can be assumed at Debian package build time'
     @http.reuse_ssl_sessions = false
     @http.open_timeout = 123
     @http.read_timeout = 321
