summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/rubygems/test_gem_doctor.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rubygems/test_gem_doctor.rb b/test/rubygems/test_gem_doctor.rb
index 1f0f0f1b5c..f99de3d020 100644
--- a/test/rubygems/test_gem_doctor.rb
+++ b/test/rubygems/test_gem_doctor.rb
@@ -163,7 +163,7 @@ This directory does not appear to be a RubyGems repository, skipping
doctor = Gem::Doctor.new @gemhome
- capture_io do
+ capture_output do
use_ui @ui do
doctor.doctor
end