]> git.openstreetmap.org Git - rails.git/blob - test/mailers/user_mailer_test.rb
Merge remote-tracking branch 'upstream/pull/2975' into master
[rails.git] / test / mailers / user_mailer_test.rb
1 require "test_helper"
2
3 class UserMailerTest < ActionMailer::TestCase
4   def test_html_layout_is_used
5     email = UserMailer.message_notification(create(:message))
6
7     assert_match(/<html lang=/, email.html_part.body.to_s)
8   end
9 end