Class ActionController::TestCase

  1. lib/spec/rails/extensions/action_controller/test_case.rb
Parent: Object

Methods

public instance

  1. rescue_action_in_public!

Public instance methods

rescue_action_in_public! ()

Introduced in Rails 2.1, but we need it for 2.0

[show source]
# 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