- def test_latlon_outofbounds
- @badlatlonoutboundsbbox.each do |bbox|
- [ "trackpoints", "map" ].each do |tq|
- get tq, :bbox => bbox
- #print @request.to_yaml
- assert_response :bad_request, "The bbox #{bbox} was expected to be out of range"
- assert_equal "The latitudes must be between -90 an 90, and longitudes between -180 and 180", @response.body, "bbox: #{bbox}"
- end
- end
- end
+ # We can't actually get an out of bounds error, as the bbox is sanitised.
+ #def test_latlon_outofbounds
+ # @badlatlonoutboundsbbox.each do |bbox|
+ # [ "trackpoints", "map" ].each do |tq|
+ # get tq, :bbox => bbox
+ # #print @request.to_yaml
+ # assert_response :bad_request, "The bbox #{bbox} was expected to be out of range"
+ # assert_equal "The latitudes must be between -90 an 90, and longitudes between -180 and 180", @response.body, "bbox: #{bbox}"
+ # end
+ # end
+ #end