X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8e404f3a468a2636481d52f245b816c41e9d5ac0..3238bf567c5c8a0e807343588b8f38f86d65c1cd:/test/helpers/note_helper_test.rb?ds=sidebyside diff --git a/test/helpers/note_helper_test.rb b/test/helpers/note_helper_test.rb index eb7b99938..8495e21a9 100644 --- a/test/helpers/note_helper_test.rb +++ b/test/helpers/note_helper_test.rb @@ -15,6 +15,7 @@ class NoteHelperTest < ActionView::TestCase def test_note_author assert_equal "", note_author(nil) + assert_equal "deleted", note_author(users(:deleted_user)) assert_equal "test2", note_author(users(:public_user)) assert_equal "test2", note_author(users(:public_user), :only_path => false) end