]> git.openstreetmap.org Git - rails.git/blobdiff - test/functional/changeset_controller_test.rb
Rework the pagination of the trace list to avoid having to count
[rails.git] / test / functional / changeset_controller_test.rb
index 76ec0866adcf9899df439126009147ef95b583cd..befa8192a6b6d842e1321fa92e736bd52f135eda 100644 (file)
@@ -1382,6 +1382,10 @@ EOF
     get :query, :open => 'true'
     assert_response :success, "can't get changesets by open-ness"
     assert_changesets [1,2,4]
+
+    get :query, :closed => 'true'
+    assert_response :success, "can't get changesets by closed-ness"
+    assert_changesets [3,5,6,7]
   end
 
   ##