Corrected the binary_content method

This commit is contained in:
Alexey Verkhovsky 2005-01-17 20:11:49 +00:00
parent f28e572c65
commit c50dd048e3

View file

@ -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