]> git.openstreetmap.org Git - rails.git/blobdiff - test/helpers/changeset_helper_test.rb
Do not hyperlink profiles of deleted users
[rails.git] / test / helpers / changeset_helper_test.rb
index bf3de4525e2a5a3f5cdfca687ebada03a65b934b..e7ca138b665f1b6348c1db97661356375fe9abeb 100644 (file)
@@ -6,6 +6,7 @@ class ChangesetHelperTest < ActionView::TestCase
   def test_changeset_user_link
     assert_equal "<a href=\"/user/test2\">test2</a>", changeset_user_link(changesets(:public_user_first_change))
     assert_equal "anonymous", changeset_user_link(changesets(:normal_user_first_change))
+    assert_equal "anonymous", changeset_user_link(changesets(:deleted_user_first_change))
   end
 
   def test_changeset_details