X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/11df872c3e964ad043bd97856da2ff0ddb457503..6427f68ea744fe8b6c8b427d6be7e1729c67f138:/test/controllers/api/notes_controller_test.rb diff --git a/test/controllers/api/notes_controller_test.rb b/test/controllers/api/notes_controller_test.rb index a03b84ae8..874ac3ccd 100644 --- a/test/controllers/api/notes_controller_test.rb +++ b/test/controllers/api/notes_controller_test.rb @@ -786,6 +786,10 @@ module Api end def test_index_bad_params + get api_notes_path + assert_response :bad_request + assert_equal "The parameter bbox is required", @response.body + get api_notes_path(:bbox => "-2.5,-2.5,2.5") assert_response :bad_request