aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/rescue_test.rb
diff options
context:
space:
mode:
authorYehuda Katz and Carl Lerche <wycats@gmail.com>2009-04-08 17:33:06 -0700
committerYehuda Katz and Carl Lerche <wycats@gmail.com>2009-04-08 17:33:41 -0700
commit6c05b5e938ac48b69aec17c598fec447e38dde31 (patch)
tree2d1144857677293454ad29f10317674dd9f7e2c3 /actionpack/test/controller/rescue_test.rb
parent91402bdd31dbda4906d19e08d63112c749cc92f4 (diff)
downloadrails-6c05b5e938ac48b69aec17c598fec447e38dde31.tar.gz
rails-6c05b5e938ac48b69aec17c598fec447e38dde31.tar.bz2
rails-6c05b5e938ac48b69aec17c598fec447e38dde31.zip
Temporarily modifies setup to call super directly. This can support more T::U runners.
Diffstat (limited to 'actionpack/test/controller/rescue_test.rb')
-rw-r--r--actionpack/test/controller/rescue_test.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/actionpack/test/controller/rescue_test.rb b/actionpack/test/controller/rescue_test.rb
index a2a2a3ee29..744ca9286c 100644
--- a/actionpack/test/controller/rescue_test.rb
+++ b/actionpack/test/controller/rescue_test.rb
@@ -143,8 +143,11 @@ end
class RescueControllerTest < ActionController::TestCase
FIXTURE_PUBLIC = "#{File.dirname(__FILE__)}/../fixtures".freeze
- setup :set_all_requests_local
- setup :populate_exception_object
+ def setup
+ super
+ set_all_requests_local
+ populate_exception_object
+ end
def set_all_requests_local
RescueController.consider_all_requests_local = true