method

included

rails latest stable - Class: ActionController::TestCase::RaiseActionExceptions

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.1.8) is shown here.

included(base)
public

No documentation available.

# File actionpack/lib/action_controller/test_case.rb, line 694
      def self.included(base) #:nodoc:
        unless base.method_defined?(:exception) && base.method_defined?(:exception=)
          base.class_eval do
            attr_accessor :exception
            protected :exception, :exception=
          end
        end
      end