about summary refs log tree commit diff
path: root/spec/mailers
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-02-21 19:55:31 -0500
committerGitHub <noreply@github.com>2023-02-22 09:55:31 +0900
commit84cc805caea566d4fb0fafce411cd07f83cfd0e2 (patch)
tree90742b7a02b2907a419fee5ef59e031d04607729 /spec/mailers
parent0cfdd1a401f055c23e308a4b823bd250b1cbb3d3 (diff)
Enable Style/FrozenStringLiteralComment for specs (#23790)
Diffstat (limited to 'spec/mailers')
-rw-r--r--spec/mailers/notification_mailer_spec.rb2
-rw-r--r--spec/mailers/previews/admin_mailer_preview.rb2
-rw-r--r--spec/mailers/previews/notification_mailer_preview.rb2
-rw-r--r--spec/mailers/previews/user_mailer_preview.rb2
4 files changed, 8 insertions, 0 deletions
diff --git a/spec/mailers/notification_mailer_spec.rb b/spec/mailers/notification_mailer_spec.rb
index 6746871a3..a6db08d85 100644
--- a/spec/mailers/notification_mailer_spec.rb
+++ b/spec/mailers/notification_mailer_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 require 'rails_helper'
 
 RSpec.describe NotificationMailer, type: :mailer do
diff --git a/spec/mailers/previews/admin_mailer_preview.rb b/spec/mailers/previews/admin_mailer_preview.rb
index 0ec9e9882..9572768cd 100644
--- a/spec/mailers/previews/admin_mailer_preview.rb
+++ b/spec/mailers/previews/admin_mailer_preview.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 # Preview all emails at http://localhost:3000/rails/mailers/admin_mailer
 
 class AdminMailerPreview < ActionMailer::Preview
diff --git a/spec/mailers/previews/notification_mailer_preview.rb b/spec/mailers/previews/notification_mailer_preview.rb
index e31445c36..bc41662a1 100644
--- a/spec/mailers/previews/notification_mailer_preview.rb
+++ b/spec/mailers/previews/notification_mailer_preview.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 # Preview all emails at http://localhost:3000/rails/mailers/notification_mailer
 
 class NotificationMailerPreview < ActionMailer::Preview
diff --git a/spec/mailers/previews/user_mailer_preview.rb b/spec/mailers/previews/user_mailer_preview.rb
index 95712e6cf..098c9cd90 100644
--- a/spec/mailers/previews/user_mailer_preview.rb
+++ b/spec/mailers/previews/user_mailer_preview.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
 # Preview all emails at http://localhost:3000/rails/mailers/user_mailer
 
 class UserMailerPreview < ActionMailer::Preview