Don't limit get map_bugs to a small Area, by disabling the quadtile index for those searches

The volumn of bugs seem small enough to get away with normal or GiST indexes (not included yet)

Also includes some other fixes
This commit is contained in:
Kai Krueger 2010-03-20 11:59:23 +00:00
parent 03f733c4f4
commit 59a6ed0e20
5 changed files with 47 additions and 27 deletions

View file

@ -54,6 +54,11 @@ class MapBugsControllerTest < ActionController::TestCase
assert_response :success
end
def test_get_bugs_large_area_success
get :get_bugs, {:bbox=>'-10,-10,12,12'}
assert_response :success
end
def test_get_bugs_closed_7_success
get :get_bugs, {:bbox=>'1,1,1.2,1.2', :closed => '7'}
assert_response :success