summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_install_update_options.rb
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-04 12:45:46 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-04 12:45:46 +0000
commite4664efaf8c29b7f670157266d2d3551fdde6776 (patch)
treefe5e4b63e3955a19dafb03be2f779641e4bd55a4 /test/rubygems/test_gem_install_update_options.rb
parentbd9a78a0fed1b937aaaa2edaf893475a81c6d456 (diff)
Skip more rubygems tests when openssl is missing
Some tests are already skipped, but some tests are not. So latter should be skipped too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63850 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_install_update_options.rb')
-rw-r--r--test/rubygems/test_gem_install_update_options.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_install_update_options.rb b/test/rubygems/test_gem_install_update_options.rb
index 371e408d27..2a85a279a4 100644
--- a/test/rubygems/test_gem_install_update_options.rb
+++ b/test/rubygems/test_gem_install_update_options.rb
@@ -119,6 +119,8 @@ class TestGemInstallUpdateOptions < Gem::InstallerTestCase
end
def test_security_policy_unknown
+ skip 'openssl is missing' unless defined?(OpenSSL::SSL)
+
@cmd.add_install_update_options
e = assert_raises OptionParser::InvalidArgument do