From b39efb163dd97a6b2c92cac3d2b1c19f898d0c04 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Thu, 8 Aug 2019 17:19:23 +0900 Subject: Aliases capture_output to capture_io for test-unit compatiblity. --- test/csv/interface/test_read.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/csv/interface') 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 -- cgit v1.2.3