[前][次][番号順一覧][スレッド一覧]

ruby-changes:61753

From: David <ko1@a...>
Date: Wed, 17 Jun 2020 21:17:32 +0900 (JST)
Subject: [ruby-changes:61753] b1d74afd3a (master): Speed up setup test by not installing docs

https://git.ruby-lang.org/ruby.git/commit/?id=b1d74afd3a

From b1d74afd3a869c4dbdd5c2834d9b7b7ea6c4dad1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?David=20Rodr=C3=ADguez?= <deivid.rodriguez@r...>
Date: Tue, 16 Jun 2020 19:40:12 +0200
Subject: Speed up setup test by not installing docs

This also makes this test consistent with the other tests in this file.

diff --git a/test/rubygems/test_gem_commands_setup_command.rb b/test/rubygems/test_gem_commands_setup_command.rb
index 5c61984..ba774ba 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 https://github.com/ruby/ruby/blob/trunk/test/rubygems/test_gem_commands_setup_command.rb#L125
   end
 
   def test_execute_informs_about_installed_executables
+    @cmd.options[:document] = []
+
     use_ui @ui do
       @cmd.execute
     end
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]