class I18nTestMailer
Public Instance Methods
mail_with_i18n_subject(recipient)
click to toggle source
# File actionmailer/test/i18n_with_controller_test.rb, line 12 def mail_with_i18n_subject(recipient) @recipient = recipient I18n.locale = :de mail(to: recipient, subject: I18n.t(:email_subject), from: "system@loudthinking.com", date: Time.local(2004, 12, 12)) end