about summary refs log tree commit diff
path: root/spec/mailers/user_mailer_spec.rb
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-18 17:38:14 -0500
committerGitHub <noreply@github.com>2023-02-19 07:38:14 +0900
commit81ad6c2e39393ff20450385cb37dd9bf6e6651e5 (patch)
treee90ce3b793e696928a898251f75d9ab99ee3b65b /spec/mailers/user_mailer_spec.rb
parentac3561098e9cd1fd1ccee558295eb9f3430099d6 (diff)
Autofix Rubocop Style/StringLiterals (#23695)
Diffstat (limited to 'spec/mailers/user_mailer_spec.rb')
-rw-r--r--spec/mailers/user_mailer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/user_mailer_spec.rb b/spec/mailers/user_mailer_spec.rb
index 2ed33c1e4..9c22f60f1 100644
--- a/spec/mailers/user_mailer_spec.rb
+++ b/spec/mailers/user_mailer_spec.rb
@@ -90,7 +90,7 @@ describe UserMailer, type: :mailer do
 
     it 'renders warning notification' do
       receiver.update!(locale: nil)
-      expect(mail.body.encoded).to include I18n.t("user_mailer.warning.title.suspend", acct: receiver.account.acct)
+      expect(mail.body.encoded).to include I18n.t('user_mailer.warning.title.suspend', acct: receiver.account.acct)
       expect(mail.body.encoded).to include strike.text
     end
   end