method

method_added

method_added(method)
public

No documentation available.

# File actionmailer/lib/action_mailer/test_case.rb, line 47
    def self.method_added(method)
      if method.to_s == 'setup'
        unless method_defined?(:setup_without_mailer)
          alias_method :setup_without_mailer, :setup
          define_method(:setup) do
            setup_with_mailer
            setup_without_mailer
          end
        end
      end
    end