summaryrefslogtreecommitdiff
path: root/test/soap
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-23 10:47:01 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-23 10:47:01 +0000
commit619587e205db1acb717af2a88555d705fcd3c3e8 (patch)
treef6a1688a9054bf14861d980f57d2f09b129e0468 /test/soap
parent163a6e81b207525e4f35e21464ee5ab3afbd3cb5 (diff)
* test/soap/test_streamhandler.rb (test_basic_auth): removed.
soap4r + basic_auth is not officially supported in ruby/1.8.1 even though soap4r + basic_auth + http-access2 should run fine. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/soap')
-rw-r--r--test/soap/test_streamhandler.rb13
1 files changed, 3 insertions, 10 deletions
diff --git a/test/soap/test_streamhandler.rb b/test/soap/test_streamhandler.rb
index e5b578d7a6..d38b84ed97 100644
--- a/test/soap/test_streamhandler.rb
+++ b/test/soap/test_streamhandler.rb
@@ -142,16 +142,9 @@ __EOX__
end
def test_basic_auth
- unless Object.const_defined?('HTTPAccess2')
- STDERR.puts("basic_auth is not supported under soap4r + net/http for now.")
- return
- end
- str = ""
- @client.wiredump_dev = str
- @client.options["protocol.http.basic_auth"] << [@url, "foo", "bar"]
- assert_nil(@client.do_server_proc)
- r, h = parse_req_header(str)
- assert_equal("Basic Zm9vOmJhcg==", h["authorization"])
+ # soap4r + basic_auth is not officially supported in ruby/1.8.1 even though
+ # soap4r + basic_auth + http-access2 should run fine.
+ return
end
def test_proxy