X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1891efef06872740184a2abc9ecfdb9f263c9ba5..35fbcf28154b6f15f697018016fbabc952e018a5:/test/controllers/geocoder_controller_test.rb diff --git a/test/controllers/geocoder_controller_test.rb b/test/controllers/geocoder_controller_test.rb index 483c37dba..bc75a9bfb 100644 --- a/test/controllers/geocoder_controller_test.rb +++ b/test/controllers/geocoder_controller_test.rb @@ -45,6 +45,16 @@ class GeocoderControllerTest < ActionController::TestCase ) end + ## + # Test identification with no arguments + def test_identify_error + get :search + assert_response :bad_request + + xhr :get, :search + assert_response :bad_request + end + ## # Test identification of basic lat/lon pairs def test_identify_latlon_basic