]> git.openstreetmap.org Git - rails.git/blobdiff - test/mailers/user_mailer_test.rb
Merge remote-tracking branch 'upstream/pull/4518'
[rails.git] / test / mailers / user_mailer_test.rb
index 6df86c15e64b50aeb6ae391cf17a06558baac8bc..751adcd82dc361583bf4e8ea7ca4ad8a8d3ac8f9 100644 (file)
@@ -15,7 +15,7 @@ class UserMailerTest < ActionMailer::TestCase
     end
     email = UserMailer.gpx_success(trace, 100)
 
-    assert_match(/one two three/, email.html_part.body.to_s)
+    assert_match("<em>one</em>, <em>two</em>, <em>three</em>", email.html_part.body.to_s)
   end
 
   def test_gpx_success_all_traces_link