aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/rescue_test.rb
diff options
context:
space:
mode:
authorYehuda Katz <wycats@gmail.com>2009-10-15 16:37:27 -0700
committerYehuda Katz <wycats@gmail.com>2009-10-15 16:37:27 -0700
commitc44d560145cc332d48b9fbacbc7d23954ebb4a46 (patch)
tree46a47c6fe1bfa2f75763477830591a258f78e3c1 /actionpack/test/controller/rescue_test.rb
parente9d6bcd19fb4f6a7ae697339c555e2477e040ce1 (diff)
downloadrails-c44d560145cc332d48b9fbacbc7d23954ebb4a46.tar.gz
rails-c44d560145cc332d48b9fbacbc7d23954ebb4a46.tar.bz2
rails-c44d560145cc332d48b9fbacbc7d23954ebb4a46.zip
Rack responses need to wrap Strings in 1.9
Diffstat (limited to 'actionpack/test/controller/rescue_test.rb')
-rw-r--r--actionpack/test/controller/rescue_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/rescue_test.rb b/actionpack/test/controller/rescue_test.rb
index 689359166f..054a9f2aaf 100644
--- a/actionpack/test/controller/rescue_test.rb
+++ b/actionpack/test/controller/rescue_test.rb
@@ -327,7 +327,7 @@ class RescueTest < ActionController::IntegrationTest
test 'rescue routing exceptions' do
@app = ActionDispatch::Rescue.new(ActionController::Routing::Routes) do
- rescue_from ActionController::RoutingError, lambda { |env| [200, {"Content-Type" => "text/html"}, "Gotcha!"] }
+ rescue_from ActionController::RoutingError, lambda { |env| [200, {"Content-Type" => "text/html"}, ["Gotcha!"]] }
end
get '/b00m'