diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-12 21:51:02 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-10-12 21:51:02 -0400 |
commit | 9ad3bca2ea475b709c8311ab25194e4578c1a0d9 (patch) | |
tree | b60fa4048784bb36853d461fc6df14579a241534 /test/mailers | |
parent | 2022e18daab968ad49af9b3e59969ef1ed110436 (diff) | |
download | thoughts-9ad3bca2ea475b709c8311ab25194e4578c1a0d9.tar.gz thoughts-9ad3bca2ea475b709c8311ab25194e4578c1a0d9.tar.bz2 thoughts-9ad3bca2ea475b709c8311ab25194e4578c1a0d9.zip |
Webmaster gets an email when a comment is posted
Diffstat (limited to 'test/mailers')
-rw-r--r-- | test/mailers/comment_mailer_test.rb | 7 | ||||
-rw-r--r-- | test/mailers/previews/comment_mailer_preview.rb | 4 |
2 files changed, 11 insertions, 0 deletions
diff --git a/test/mailers/comment_mailer_test.rb b/test/mailers/comment_mailer_test.rb new file mode 100644 index 0000000..996d230 --- /dev/null +++ b/test/mailers/comment_mailer_test.rb | |||
@@ -0,0 +1,7 @@ | |||
1 | require "test_helper" | ||
2 | |||
3 | class CommentMailerTest < ActionMailer::TestCase | ||
4 | # test "the truth" do | ||
5 | # assert true | ||
6 | # end | ||
7 | end | ||
diff --git a/test/mailers/previews/comment_mailer_preview.rb b/test/mailers/previews/comment_mailer_preview.rb new file mode 100644 index 0000000..20fc4e6 --- /dev/null +++ b/test/mailers/previews/comment_mailer_preview.rb | |||
@@ -0,0 +1,4 @@ | |||
1 | # Preview all emails at http://localhost:3000/rails/mailers/comment_mailer | ||
2 | class CommentMailerPreview < ActionMailer::Preview | ||
3 | |||
4 | end | ||