Class: ActionController::TestCase

Inherits:
Object
  • Object
show all
Includes:
Spec::Rails::Example::RoutingHelpers
Defined in:
lib/vendor/plugins/rspec-rails/lib/spec/rails/extensions/action_controller/test_case.rb

Instance Method Summary collapse

Methods included from Spec::Rails::Example::RoutingHelpers

#params_from, #route_for

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/vendor/plugins/rspec-rails/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