X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/adb083dbc8deeaf1a1f5c408b5a38cbba7a0bb27..93a617fec9febfb74040cab5bda0891075703ab1:/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