Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/pull/2954' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
tomhughes committed Nov 11, 2020
2 parents b1d8d73 + 01b72f7 commit a2bb438
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
File renamed without changes.
9 changes: 9 additions & 0 deletions test/mailers/user_mailer_test.rb
@@ -0,0 +1,9 @@
require "test_helper"

class UserMailerTest < ActionMailer::TestCase
def test_html_layout_is_used
email = UserMailer.message_notification(create(:message))

assert_match(/<html lang=/, email.html_part.body.to_s)
end
end

0 comments on commit a2bb438

Please sign in to comment.