summaryrefslogtreecommitdiff
path: root/test/csv/interface
diff options
context:
space:
mode:
Diffstat (limited to 'test/csv/interface')
-rw-r--r--test/csv/interface/test_read.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/csv/interface/test_read.rb b/test/csv/interface/test_read.rb
index 8fefbbb172..52620964c0 100644
--- a/test/csv/interface/test_read.rb
+++ b/test/csv/interface/test_read.rb
@@ -104,7 +104,7 @@ class TestCSVInterfaceRead < Test::Unit::TestCase
end
def test_open_encoding_nonexistent
- _output, error = capture_io do
+ _output, error = capture_output do
CSV.open(@input.path, encoding: "nonexistent") do
end
end