method

method_added

method_added(method)
public

No documentation available.

# File actionpack/lib/action_controller/test_case.rb, line 60
    def self.method_added(method)
      if method.to_s == 'setup'
        unless method_defined?(:setup_without_controller)
          alias_method :setup_without_controller, :setup
          define_method(:setup) do
            setup_with_fixtures if respond_to?(:setup_with_fixtures)
            setup_with_controller
            setup_without_controller
          end
        end
      end
    end