X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9f739fd1e128cfa87dba7a837381eb5d3e6bbd26..ec73d70659686a51f5f4b6b737c9dea1daff8325:/test/controllers/notes_controller_test.rb?ds=sidebyside diff --git a/test/controllers/notes_controller_test.rb b/test/controllers/notes_controller_test.rb index a70bb32cd..0185c6741 100644 --- a/test/controllers/notes_controller_test.rb +++ b/test/controllers/notes_controller_test.rb @@ -164,7 +164,7 @@ class NotesControllerTest < ActionDispatch::IntegrationTest def test_read_note_suspended_opener_and_comment note = create(:note) create(:note_comment, :note => note, :author => create(:user, :suspended)) - create(:note_comment, :note => note) + create(:note_comment, :note => note, :event => "commented") sidebar_browse_check :note_path, note.id, "notes/show" assert_select "div.note-comments ul li", :count => 1