Do not hyperlink profiles of deleted users
This commit is contained in:
parent
be624d64f3
commit
341f6cd9fe
7 changed files with 14 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue