From 9ad3bca2ea475b709c8311ab25194e4578c1a0d9 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Thu, 12 Oct 2023 21:51:02 -0400 Subject: Webmaster gets an email when a comment is posted --- test/mailers/comment_mailer_test.rb | 7 +++++++ test/mailers/previews/comment_mailer_preview.rb | 4 ++++ 2 files changed, 11 insertions(+) create mode 100644 test/mailers/comment_mailer_test.rb create mode 100644 test/mailers/previews/comment_mailer_preview.rb (limited to 'test/mailers') 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 @@ +require "test_helper" + +class CommentMailerTest < ActionMailer::TestCase + # test "the truth" do + # assert true + # end +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 @@ +# Preview all emails at http://localhost:3000/rails/mailers/comment_mailer +class CommentMailerPreview < ActionMailer::Preview + +end -- cgit 1.4.1