]> git.openstreetmap.org Git - rails.git/blobdiff - test/helpers/note_helper_test.rb
Update HSTS to publish a max-age=0 to disable it
[rails.git] / test / helpers / note_helper_test.rb
index e946f6f050f31939bd04a8657a651c7a7ece20f1..8495e21a9998f1b2cb52a3b7dfc53f08101a94bd 100644 (file)
@@ -15,7 +15,7 @@ class NoteHelperTest < ActionView::TestCase
 
   def test_note_author
     assert_equal "", note_author(nil)
-    assert_equal "anonymous", note_author(users(:deleted_user))
+    assert_equal "deleted", note_author(users(:deleted_user))
     assert_equal "<a href=\"/user/test2\">test2</a>", note_author(users(:public_user))
     assert_equal "<a href=\"http://test.host/user/test2\">test2</a>", note_author(users(:public_user), :only_path => false)
   end