X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c2e12ed77d8223737fe8f8e2e2b21a0822153fa1..2f722fc281434ef59e19c504bff9e748e9d3f4b4:/test/controllers/browse_controller_test.rb 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