X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/7bba7989909c9137561d9e330abcfadbf5212e44..22bef89d1a97bf8206a951cc777061792a868b02:/test/functional/map_bugs_controller_test.rb?ds=sidebyside diff --git a/test/functional/map_bugs_controller_test.rb b/test/functional/map_bugs_controller_test.rb index 9aa155c3e..ba47a007c 100644 --- a/test/functional/map_bugs_controller_test.rb +++ b/test/functional/map_bugs_controller_test.rb @@ -79,10 +79,15 @@ class MapBugsControllerTest < ActionController::TestCase end def test_get_bugs_large_area_success - get :get_bugs, {:bbox=>'-10,-10,12,12'} + get :get_bugs, {:bbox=>'-2.5,-2.5,2.5,2.5'} assert_response :success end + def test_get_bugs_large_area_bad_request + get :get_bugs, {:bbox=>'-10,-10,12,12'} + assert_response :bad_request + end + def test_get_bugs_closed_7_success get :get_bugs, {:bbox=>'1,1,1.2,1.2', :closed => '7'} assert_response :success