diff options
Diffstat (limited to 'test/rubygems/test_gem_commands_cert_command.rb')
-rw-r--r-- | test/rubygems/test_gem_commands_cert_command.rb | 6 |
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 |