summaryrefslogtreecommitdiff
path: root/test/xmlrpc/test_client.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-23 13:48:41 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-23 13:48:41 +0000
commit77b1d88513cb4aea0183fef256dc2d7f168a2b4b (patch)
treebb03c437b79b8cfff376bb3e33ff05423eb6172f /test/xmlrpc/test_client.rb
parent535a28c73748874eed9016e48515f01a71c507eb (diff)
skip OpenSSL dependent tests if not available
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/xmlrpc/test_client.rb')
-rw-r--r--test/xmlrpc/test_client.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/xmlrpc/test_client.rb b/test/xmlrpc/test_client.rb
index bf57d7e54cb..96f3af8599a 100644
--- a/test/xmlrpc/test_client.rb
+++ b/test/xmlrpc/test_client.rb
@@ -102,7 +102,7 @@ module XMLRPC
refute user
refute password
refute timeout
- end
+ end if defined?(OpenSSL)
def test_new2_ssl_custom_port
client = Fake::Client.new2 'https://example.org:1234/foo'
@@ -117,7 +117,7 @@ module XMLRPC
refute user
refute password
refute timeout
- end
+ end if defined?(OpenSSL)
def test_new2_user_password
client = Fake::Client.new2 'http://aaron:tenderlove@example.org/foo'