diff --git a/test/mailers/previews/app_mailer_preview.rb b/test/mailers/previews/app_mailer_preview.rb index 1d8b2b658..dc6fb9760 100644 --- a/test/mailers/previews/app_mailer_preview.rb +++ b/test/mailers/previews/app_mailer_preview.rb @@ -7,10 +7,6 @@ class AppMailerPreview < ActionMailer::Preview AppMailer.reset_password_instructions(fake_user, 'faketoken', {}) end - def unlock_instructions - AppMailer.unlock_instructions(fake_user, 'faketoken', {}) - end - def invitation_instructions AppMailer.invitation_instructions(fake_user, 'faketoken', {}) end @@ -44,7 +40,7 @@ class AppMailerPreview < ActionMailer::Preview Notification.new( type_of: :recent_changes, title: I18n.t( - 'activities.create_module', + 'global_activities.activity_name.create_module', user: user.full_name, module: 'How to shred' ), @@ -57,6 +53,7 @@ class AppMailerPreview < ActionMailer::Preview ) end + # DEPRECATED: Please use system_notification instead. def system_message_notification AppMailer.notification( fake_user,