Exception: ActionMailer::NonInferrableMailerError
- Defined in:
- actionmailer/lib/action_mailer/test_case.rb
Instance Method Summary collapse
-
#initialize(name) ⇒ NonInferrableMailerError
constructor
A new instance of NonInferrableMailerError.
Constructor Details
#initialize(name) ⇒ NonInferrableMailerError
Returns a new instance of NonInferrableMailerError.
5 6 7 8 9 |
# File 'actionmailer/lib/action_mailer/test_case.rb', line 5 def initialize(name) super "Unable to determine the mailer to test from #{name}. " + "You'll need to specify it using tests YourMailer in your " + "test case definition" end |