Added a query method for querying bounding boxes, times and users of changesets....
[rails.git] / test / functional / changeset_controller_test.rb
index 150e53dae946aa511f077231accbebcb35e8963a..25ceca1876c79299903bd8e8c7efd6e73da0b868 100644 (file)
@@ -576,6 +576,14 @@ EOF
     check_after_include(changeset_id, -2,  5, [-2, -1,  4,  5])
   end
 
+  ##
+  # check searching for changesets by bbox
+  def test_changeset_by_bbox
+    get :query, :bbox => "-10,-10, 10, 10"
+    assert_response :success, "can't get changesets in bbox"
+    # FIXME: write the actual test bit after fixing the fixtures!
+  end
+
   #------------------------------------------------------------
   # utility functions
   #------------------------------------------------------------