X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/be40536440b8677323bcf30bc2b869e36f907dd9..333113b8e11004903577507084ecfba85b8f7f53:/test/controllers/browse_controller_test.rb?ds=inline diff --git a/test/controllers/browse_controller_test.rb b/test/controllers/browse_controller_test.rb index f4e157f66..c5f1eef5c 100644 --- a/test/controllers/browse_controller_test.rb +++ b/test/controllers/browse_controller_test.rb @@ -75,6 +75,9 @@ class BrowseControllerTest < ActionController::TestCase end def test_read_changeset_hidden_comments + create_list(:changeset_comment, 3) + create(:changeset_comment, :visible => false) + browse_check "changeset", changesets(:normal_user_closed_change).id, "browse/changeset" assert_select "div.changeset-comments ul li", :count => 3