aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/dispatch/rescue.rb
diff options
context:
space:
mode:
authorJoshua Peek <josh@joshpeek.com>2009-05-02 15:29:18 -0500
committerJoshua Peek <josh@joshpeek.com>2009-05-02 15:29:18 -0500
commitf32cf44870549c6cc5b6e6c84cffc1facf6ec38e (patch)
tree320e7398d1e6e4f3f372cd2ee90d1e2560459f10 /actionpack/lib/action_controller/dispatch/rescue.rb
parenta8b75c480fc9774252f5976dcf1a614079822e56 (diff)
downloadrails-f32cf44870549c6cc5b6e6c84cffc1facf6ec38e.tar.gz
rails-f32cf44870549c6cc5b6e6c84cffc1facf6ec38e.tar.bz2
rails-f32cf44870549c6cc5b6e6c84cffc1facf6ec38e.zip
Switch functional tests to run through the rack interface instead of process
Diffstat (limited to 'actionpack/lib/action_controller/dispatch/rescue.rb')
-rw-r--r--actionpack/lib/action_controller/dispatch/rescue.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/dispatch/rescue.rb b/actionpack/lib/action_controller/dispatch/rescue.rb
index df80ac0909..2f3b40c231 100644
--- a/actionpack/lib/action_controller/dispatch/rescue.rb
+++ b/actionpack/lib/action_controller/dispatch/rescue.rb
@@ -62,7 +62,7 @@ module ActionController #:nodoc:
def call_with_exception(env, exception) #:nodoc:
request = env["action_controller.rescue.request"] ||= ActionDispatch::Request.new(env)
response = env["action_controller.rescue.response"] ||= ActionDispatch::Response.new
- new.process(request, response, :rescue_action, exception)
+ new.process(request, response, :rescue_action, exception).to_a
end
end