]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/notes_controller_test.rb
Adjust cycleway widths in cyclemap map key
[rails.git] / test / controllers / api / notes_controller_test.rb
index a03b84ae8e2130676e101b2d0414943dfa5381bd..874ac3ccda1a65d474e9a1f6cd12312177a43967 100644 (file)
@@ -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