This project is archived and is in readonly mode.
Changeset [5e3517ea7b9fbd460f772bffc9212d882011f2bc] by Pratik Naik
October 4th, 2008 @ 06:43 PM
Ensure rescue_from handlers are respected inside tests. [#835 state:resolved]
Note : If you're not using rescue_from, you should overrider rescue_action_without_handler() method and not rescue_action(). Afterwards, you can set request.remote_addr to a non "0.0.0.0" value for testing the overridden behavior. http://github.com/rails/rails/co...
Committed by Pratik Naik
- M actionpack/lib/action_controller/rescue.rb
- M actionpack/lib/action_controller/test_case.rb
- M actionpack/test/controller/rescue_test.rb
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>