X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9568c7fee85a615830ba78639b2ee8440da60668..84f6029ead0aef7a85b9690d7c6dec65782d94b1:/test/controllers/api/tracepoints_controller_test.rb diff --git a/test/controllers/api/tracepoints_controller_test.rb b/test/controllers/api/tracepoints_controller_test.rb index fbe0450f2..d3fb195fe 100644 --- a/test/controllers/api/tracepoints_controller_test.rb +++ b/test/controllers/api/tracepoints_controller_test.rb @@ -105,7 +105,7 @@ module Api assert_equal "The parameter bbox is required, and must be of the form min_lon,min_lat,max_lon,max_lat", @response.body, "A bbox param was expected" end - def test_traces_page_less_than_0 + def test_traces_page_less_than_zero -10.upto(-1) do |i| get trackpoints_path(:page => i, :bbox => "-0.1,-0.1,0.1,0.1") assert_response :bad_request