Added a query method for querying bounding boxes, times and users of changesets. Needs (much) more testing.

This commit is contained in:
Matt Amos 2008-11-07 18:24:34 +00:00
parent 748a7a0a03
commit b875d14b7c
6 changed files with 148 additions and 20 deletions

View 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
#------------------------------------------------------------