summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_cert_command.rb
diff options
context:
space:
mode:
-rw-r--r--test/rubygems/test_gem_commands_cert_command.rb33
1 files changed, 32 insertions, 1 deletions
@@ -159,7 +159,7 @@ Added '/CN=alternate/DC=example'
@cmd.handle_options %W[
--days 26
- ]
@build_ui = Gem::MockGemUi.new "#{passphrase}\n#{passphrase}"
@@ -615,6 +615,37 @@ ERROR: --private-key not specified and ~/.gem/gem-private_key.pem does not exis
assert_equal '', @ui.error
end
def test_handle_options
@cmd.handle_options %W[
--add #{PUBLIC_CERT_FILE}