]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/browse_controller_test.rb
Use only_path instead of setting an explicit host
[rails.git] / test / controllers / browse_controller_test.rb
index f4e157f6607e082e13c3deefabb1c53237da044f..c5f1eef5c93bc1d1327707e296e91757596588dd 100644 (file)
@@ -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