Corrected the binary_content method
This commit is contained in:
parent
f28e572c65
commit
c50dd048e3
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue