]> git.openstreetmap.org Git - rails.git/blobdiff - test/mailers/user_mailer_test.rb
Move trace descriptions out of success/failure sentences in emails
[rails.git] / test / mailers / user_mailer_test.rb
index 2a547e752aff6fa901340eee7edc619380eff06e..3b7119ff645ae467a2f29e06ad25d44c4ec5e260 100644 (file)
@@ -15,7 +15,7 @@ class UserMailerTest < ActionMailer::TestCase
     end
     email = UserMailer.gpx_success(trace, 100)
 
-    assert_match("<em>one</em>, <em>two&amp;three</em>, <em>four&lt;five</em>", email.html_part.body.to_s)
+    assert_match("one, two&amp;three, four&lt;five", email.html_part.body.to_s)
     assert_match("one, two&three, four<five", email.text_part.body.to_s)
   end