Flowdock
method

determine_default_mailer

Importance_0
v2.3.8 - Show latest stable - 0 notes - Class: ActionMailer::TestCase
determine_default_mailer(name) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionmailer/lib/action_mailer/test_case.rb, line 31
      def determine_default_mailer(name)
        name.sub(/Test$/, '').constantize
      rescue NameError => e
        raise NonInferrableMailerError.new(name)
      end
Register or log in to add new notes.