Bug #6573 ยป ruby-1.9.3.p195-fix-webrick-tests.patch
| test/webrick/test_httpproxy.rb | ||
|---|---|---|
|
require_relative "utils"
|
||
|
require "test/unit"
|
||
|
require "net/http"
|
||
|
require "webrick"
|
||
| ... | ... | |
|
rescue LoadError
|
||
|
# test_connect will be skipped
|
||
|
end
|
||
|
require File.expand_path("utils.rb", File.dirname(__FILE__))
|
||
|
class TestWEBrickHTTPProxy < Test::Unit::TestCase
|
||
|
def test_fake_proxy
|
||