test_response: ensure response body is closed
commit9ecded1c91cc88e9c6c3df376bea1713a5ec3d05
authorEric Wong <normalperson@yhbt.net>
Sun, 29 Mar 2009 20:17:31 +0000 (29 13:17 -0700)
committerEric Wong <normalperson@yhbt.net>
Sun, 29 Mar 2009 20:28:10 +0000 (29 13:28 -0700)
treefe7a463daa4c480cf82b1823733a938bc77dcdfd
parent5097d2cf7359193b16fa31395efe69532a59b1d6
test_response: ensure response body is closed

This is in the Rack specification and a good idea.  Remind
ourselves to prevent file descriptor or other resource leaks in
case the body is not an Array.
test/unit/test_response.rb