class method
self.new
Ruby on Rails 7.0.10
Since v2.2.3Signature
self.new(name)
No documentation comment.
Parameters
-
namereq
Source
# File actionmailer/lib/action_mailer/test_case.rb, line 8
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
Defined in actionmailer/lib/action_mailer/test_case.rb line 8
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActionMailer::NonInferrableMailerError