aboutsummaryrefslogtreecommitdiffstats
path: root/test/rubygems/test_gem_install_update_options.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-22 00:27:02 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-10-22 00:27:02 +0000
commit615ac3593499f54fde4b1eb0fba66b6bd944821b (patch)
tree1f0b0e97ee3dd51798658d53cee7eec976a83a97 /test/rubygems/test_gem_install_update_options.rb
parentff31b35f6a66f3c1548e3356d506ff65a574be7f (diff)
downloadruby-615ac3593499f54fde4b1eb0fba66b6bd944821b.tar.gz
Merge rubygems master branch from github.com/rubygems/rubygems.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65294 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.rb21
1 files changed, 1 insertions, 20 deletions
diff --git a/test/rubygems/test_gem_install_update_options.rb b/test/rubygems/test_gem_install_update_options.rb
index 2a85a279a4..65eaf7275f 100644
--- a/test/rubygems/test_gem_install_update_options.rb
+++ b/test/rubygems/test_gem_install_update_options.rb
@@ -21,8 +21,7 @@ class TestGemInstallUpdateOptions < Gem::InstallerTestCase
--build-root build_root
--format-exec
--ignore-dependencies
- --rdoc
- --ri
+ --document
-E
-f
-i /install_to
@@ -92,24 +91,6 @@ class TestGemInstallUpdateOptions < Gem::InstallerTestCase
assert_equal %w[ri], @cmd.options[:document]
end
- def test_rdoc
- @cmd.handle_options %w[--rdoc]
-
- assert_equal %w[rdoc ri], @cmd.options[:document].sort
- end
-
- def test_rdoc_no
- @cmd.handle_options %w[--no-rdoc]
-
- assert_equal %w[ri], @cmd.options[:document]
- end
-
- def test_ri
- @cmd.handle_options %w[--no-ri]
-
- assert_equal %w[], @cmd.options[:document]
- end
-
def test_security_policy
skip 'openssl is missing' unless defined?(OpenSSL::SSL)