diff options
author | wycats <wycats@gmail.com> | 2010-03-19 18:04:00 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-03-19 18:46:29 -0700 |
commit | e1c030edd8362bceab287523fba7ec6a76aa9beb (patch) | |
tree | 4a50bbbc9395bbaa504b506e923c4d1de2351156 /actionpack/test/controller/new_base/middleware_test.rb | |
parent | 80095c54bdf134da1aaaca75653e7316bbcbdf70 (diff) | |
download | rails-e1c030edd8362bceab287523fba7ec6a76aa9beb.tar.gz rails-e1c030edd8362bceab287523fba7ec6a76aa9beb.tar.bz2 rails-e1c030edd8362bceab287523fba7ec6a76aa9beb.zip |
Fixed a bunch of tests that failed in 1.9 because they assumed that a Rack response was a String.
Diffstat (limited to 'actionpack/test/controller/new_base/middleware_test.rb')
-rw-r--r-- | actionpack/test/controller/new_base/middleware_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/new_base/middleware_test.rb b/actionpack/test/controller/new_base/middleware_test.rb index ada0215b1a..65942ebc15 100644 --- a/actionpack/test/controller/new_base/middleware_test.rb +++ b/actionpack/test/controller/new_base/middleware_test.rb @@ -44,7 +44,7 @@ module MiddlewareTest test "middleware that is 'use'd is called as part of the Rack application" do result = @app.call(env_for("/")) - assert_equal "Hello World", result[2] + assert_equal "Hello World", RackTestUtils.body_to_string(result[2]) assert_equal "Success", result[1]["Middleware-Test"] end |