Don't limit get map_bugs to a small Area, by disabling the quadtile index for those...
[rails.git] / test / functional / map_bugs_controller_test.rb
index 8031041bd2af5aa200dbaca3d4e2fb988c74926d..b719e857e8d3b1f466d5e3e9f03d26e50cff39e6 100644 (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