From c50dd048e36ec7585c3b01ff6f5081d33849a37b Mon Sep 17 00:00:00 2001 From: Alexey Verkhovsky Date: Mon, 17 Jan 2005 20:11:49 +0000 Subject: [PATCH] Corrected the binary_content method --- test/test_helper.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index ab0f03b4..ce8d9572 100755 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -54,13 +54,13 @@ module ChunkMatch end -module AbstractController +module ActionController class TestResponse def binary_content sio = StringIO.new begin $stdout = sio - r.body.call + body.call ensure $stdout = STDOUT end