aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_commands_cert_command.rb
diff options
context:
space:
mode:
authordrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-10 08:00:19 +0000
committerdrbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-10 08:00:19 +0000
commit5d613c83ccb6992c6b99e5a23512719604bbdae9 (patch)
tree8f1591102f7c8e1a27bd3c30b43567ced67e2519 /test/rubygems/test_gem_commands_cert_command.rb
parentc12b28936266c205d174458f0bd21766154048f7 (diff)
downloadruby-5d613c83ccb6992c6b99e5a23512719604bbdae9.tar.gz
Import RubyGems r1601. [ruby-core:15381].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_cert_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_cert_command.rb6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_cert_command.rb b/test/rubygems/test_gem_commands_cert_command.rb
index 09a401e4f7..79e3e72158 100644
--- a/test/rubygems/test_gem_commands_cert_command.rb
+++ b/test/rubygems/test_gem_commands_cert_command.rb
@@ -3,6 +3,10 @@ require File.join(File.expand_path(File.dirname(__FILE__)), 'gemutilities')
require 'rubygems/commands/cert_command'
+unless defined? OpenSSL then
+ warn "`gem cert` tests are being skipped, module OpenSSL not found"
+end
+
class TestGemCommandsCertCommand < RubyGemTestCase
def setup
@@ -118,5 +122,5 @@ class TestGemCommandsCertCommand < RubyGemTestCase
# HACK this test sucks
end
-end
+end if defined? OpenSSL