Class: ActionController::TestCase
- Inherits:
-
Object
- Object
- ActionController::TestCase
- Includes:
- Spec::Rails::Example::RoutingHelpers
- Defined in:
- lib/spec/rails/extensions/action_controller/test_case.rb
Direct Known Subclasses
Spec::Rails::Example::FunctionalExampleGroup, Spec::Rails::Example::RoutingExampleGroup
Instance Method Summary collapse
-
#rescue_action_in_public! ⇒ Object
Introduced in Rails 2.1, but we need it for 2.0.
Methods included from Spec::Rails::Example::RoutingHelpers
Instance Method Details
#rescue_action_in_public! ⇒ Object
Introduced in Rails 2.1, but we need it for 2.0
7 8 9 10 11 12 |
# File 'lib/spec/rails/extensions/action_controller/test_case.rb', line 7 def rescue_action_in_public! # See rescue.rb in this same directory def request.rescue_action_in_public? true end end |