1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

skip OpenSSL dependent tests if not available

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2012-04-23 13:48:41 +00:00
parent 535a28c737
commit 77b1d88513
4 changed files with 34 additions and 32 deletions

View file

@ -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'