summaryrefslogtreecommitdiff
path: root/test/rubygems/test_gem_specification.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rubygems/test_gem_specification.rb')
-rw-r--r--test/rubygems/test_gem_specification.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rubygems/test_gem_specification.rb b/test/rubygems/test_gem_specification.rb
index 1389b495f2..0f895e3cf3 100644
--- a/test/rubygems/test_gem_specification.rb
+++ b/test/rubygems/test_gem_specification.rb
@@ -1669,7 +1669,7 @@ dependencies: []
skip "extensions don't quite work on jruby" if Gem.java_platform?
ext_spec
- _, err = capture_io do
+ _, err = capture_output do
refute @ext.contains_requirable_file? 'nonexistent'
end
@@ -1682,7 +1682,7 @@ dependencies: []
def test_contains_requirable_file_eh_extension_java_platform
ext_spec(platform: Gem::Platform.new("java"))
- _, err = capture_io do
+ _, err = capture_output do
refute @ext.contains_requirable_file? 'nonexistent'
end
@@ -3515,7 +3515,7 @@ Did you mean 'Ruby'?
specfile.write "raise 'boom'"
specfile.close
begin
- capture_io do
+ capture_output do
Gem::Specification.load(specfile.path)
end
rescue => e