summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_install_command.rb
diff options
context:
space:
mode:
authorsvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-27 10:05:06 +0000
committersvn <svn@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-27 10:05:06 +0000
commit73c8b1ea296ca9631f684609d62e908fd5f5d10c (patch)
tree477f8a9f48e7f5456c1a6835c2e8e0a11de0af6b /test/rubygems/test_gem_commands_install_command.rb
parent85d461456c154d7b4a72b20369e0d65d7880ce02 (diff)
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rubygems/test_gem_commands_install_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_install_command.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/rubygems/test_gem_commands_install_command.rb b/test/rubygems/test_gem_commands_install_command.rb
index 03ceec94b4..bd7dcfc24e 100644
--- a/test/rubygems/test_gem_commands_install_command.rb
+++ b/test/rubygems/test_gem_commands_install_command.rb
@@ -451,23 +451,23 @@ ERROR: Possible alternatives: non_existent_with_hint
specs = spec_fetcher do |fetcher|
fetcher.gem 'a', 2
end
-
+
Gem.done_installing(&Gem::RDoc.method(:generation_hook))
-
+
@cmd.options[:document] = %w[rdoc ri]
@cmd.options[:domain] = :local
@cmd.options[:install_dir] = 'whatever'
-
+
a2 = specs['a-2']
FileUtils.mv a2.cache_file, @tempdir
-
+
@cmd.options[:args] = %w[a]
-
+
use_ui @ui do
# Don't use Dir.chdir with a block, it warnings a lot because
# of a downstream Dir.chdir with a block
old = Dir.getwd
-
+
begin
Dir.chdir @tempdir
assert_raises Gem::MockGemUi::SystemExitException, @ui.error do
@@ -477,9 +477,9 @@ ERROR: Possible alternatives: non_existent_with_hint
Dir.chdir old
end
end
-
+
wait_for_child_process_to_exit
-
+
assert_path_exists 'whatever/doc/a-2', 'documentation not installed'
end