--- test/test_net_http_persistent.rb.orig 2012-07-27 09:33:42.701435596 +0200 +++ test/test_net_http_persistent.rb 2012-07-27 09:43:52.965184617 +0200 @@ -354,6 +354,7 @@ end def test_connection_for_http_class_with_fakeweb + skip 'No Internet connection available' Object.send :const_set, :FakeWeb, nil c = @http.connection_for @uri assert_instance_of Net::HTTP, c @@ -364,6 +365,7 @@ end def test_connection_for_http_class_with_webmock + skip 'No Internet connection available' Object.send :const_set, :WebMock, nil c = @http.connection_for @uri assert_instance_of Net::HTTP, c @@ -385,6 +387,7 @@ end def test_connection_for_no_ssl_reuse + skip 'No Internet connection available' @http.reuse_ssl_sessions = false @http.open_timeout = 123 @http.read_timeout = 321