summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_setup_command.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2020-06-16 19:40:12 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2020-06-17 21:16:56 +0900
commitb1d74afd3a869c4dbdd5c2834d9b7b7ea6c4dad1 (patch)
treeacb54b1d226a464489e810c3e609fd54ae569c25 /test/rubygems/test_gem_commands_setup_command.rb
parent3d8e0d8e50bfafa523ad8fbbc7206712bb7de4da (diff)
Speed up setup test by not installing docs
This also makes this test consistent with the other tests in this file.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/3213
Diffstat (limited to 'test/rubygems/test_gem_commands_setup_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_setup_command.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/rubygems/test_gem_commands_setup_command.rb b/test/rubygems/test_gem_commands_setup_command.rb
index 5c619840c7..ba774ba813 100644
--- a/test/rubygems/test_gem_commands_setup_command.rb
+++ b/test/rubygems/test_gem_commands_setup_command.rb
@@ -125,6 +125,8 @@ class TestGemCommandsSetupCommand < Gem::TestCase
end
def test_execute_informs_about_installed_executables
+ @cmd.options[:document] = []
+
use_ui @ui do
@cmd.execute
end