aboutsummaryrefslogtreecommitdiffstats
path: root/test/mailers
diff options
context:
space:
mode:
Diffstat (limited to 'test/mailers')
-rw-r--r--test/mailers/.keep0
-rw-r--r--test/mailers/previews/passwords_mailer_preview.rb7
2 files changed, 7 insertions, 0 deletions
diff --git a/test/mailers/.keep b/test/mailers/.keep
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/mailers/.keep
diff --git a/test/mailers/previews/passwords_mailer_preview.rb b/test/mailers/previews/passwords_mailer_preview.rb
new file mode 100644
index 0000000..01d07ec
--- /dev/null
+++ b/test/mailers/previews/passwords_mailer_preview.rb
@@ -0,0 +1,7 @@
+# Preview all emails at http://localhost:3000/rails/mailers/passwords_mailer
+class PasswordsMailerPreview < ActionMailer::Preview
+ # Preview this email at http://localhost:3000/rails/mailers/passwords_mailer/reset
+ def reset
+ PasswordsMailer.reset(User.take)
+ end
+end