We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b4acff commit bfecb44Copy full SHA for bfecb44
spec/prism_scanner_spec.rb
@@ -445,7 +445,8 @@ def value
445
class UserMailer < ApplicationMailer
446
def welcome_email(user)
447
@user = user
448
- mail(to: @user.email, subject: t('.subject'))
+ # Make sure it does not expect `.subject` from this method
449
+ mail(to: @user.email, subject: t('.subject_with_other_key'))
450
end
451
452
def notification_email(user)
@@ -466,7 +467,7 @@ def other_email(user)
466
467
%w[
468
user_mailer.notification_email.subject
469
user_mailer.other_email.subject
- user_mailer.welcome_email.subject
470
+ user_mailer.welcome_email.subject_with_other_key
471
]
472
)
473
0 commit comments