summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_commands_build_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-06-29 20:16:49 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-05-12 17:24:43 +0900
commit26cbda8dc903d5d663f6c759be073df3346c6874 (patch)
treede16280ada7fe53fda17d43afb506f07e2761d81 /test/rubygems/test_gem_commands_build_command.rb
parentcddeee21e992f1659ff9cb24d99e154aaba9daad (diff)
[rubygems/rubygems] Use capture_output instead of capture_io.
https://github.com/rubygems/rubygems/commit/ad9206d4d0
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4491
Diffstat (limited to 'test/rubygems/test_gem_commands_build_command.rb')
-rw-r--r--test/rubygems/test_gem_commands_build_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_commands_build_command.rb b/test/rubygems/test_gem_commands_build_command.rb
index fe537780be..4b94e80761 100644
--- a/test/rubygems/test_gem_commands_build_command.rb
+++ b/test/rubygems/test_gem_commands_build_command.rb
@@ -208,7 +208,7 @@ class TestGemCommandsBuildCommand < Gem::TestCase
@cmd.options[:args] = [gemspec_file]
out, err = use_ui @ui do
- capture_io do
+ capture_output do
assert_raises Gem::MockGemUi::TermError do
@cmd.execute
end