Permalink
Browse files

Fix broken integration test in 2.x [#4565 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent 3568c5c commit 3570f3e7f692e1d43e6be4d65bc6de986748cab8 Neeraj Singh committed with josevalim May 10, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 actionpack/lib/action_controller/integration.rb
@@ -355,6 +355,8 @@ def process(method, path, parameters = nil, headers = nil)
# used in integration tests.
@response.extend(TestResponseBehavior)
+ body.close if body.respond_to?(:close)
+
return @status
rescue MultiPartNeededException
boundary = "----------XnJLe9ZIbbGUYtzPQJ16u1"

0 comments on commit 3570f3e

Please sign in to comment.