diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-20 21:48:03 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-06-20 21:48:03 +0000 |
commit | 42a086502b8dbb7a29eb84cae5f99f0f69fe20c9 (patch) | |
tree | 0d119b902110397dccb998d7314af467780eb89c /test | |
parent | de8ca8a1389093bda27836b16bd1e18a19339887 (diff) | |
download | ruby-42a086502b8dbb7a29eb84cae5f99f0f69fe20c9.tar.gz |
test_client.rb: load openssl
* test/xmlrpc/test_client.rb: try loading openssl to fix autoloading
constant.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test')
-rw-r--r-- | test/xmlrpc/test_client.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/xmlrpc/test_client.rb b/test/xmlrpc/test_client.rb index 35559d23c4..2ecbe187bc 100644 --- a/test/xmlrpc/test_client.rb +++ b/test/xmlrpc/test_client.rb @@ -1,6 +1,10 @@ require 'minitest/autorun' require 'xmlrpc/client' require 'net/http' +begin + require 'openssl' +rescue LoadError +end module XMLRPC class ClientTest < MiniTest::Unit::TestCase |