X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/1f4d48eaf35f5e26909cf7b63ab72c77420546b1..c672a73de3f376d0981c5bec9cdc3e97d5d0f9b7:/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 2557a353b..0e4a6f357 100644 --- a/test/controllers/api/notes_controller_test.rb +++ b/test/controllers/api/notes_controller_test.rb @@ -747,11 +747,11 @@ module Api get :index, :params => { :bbox => "-10,-10,12,12", :format => :json } assert_response :bad_request - assert_equal "application/json", @response.media_type + assert_equal "text/plain", @response.media_type get :index, :params => { :l => "-10", :b => "-10", :r => "12", :t => "12", :format => :json } assert_response :bad_request - assert_equal "application/json", @response.media_type + assert_equal "text/plain", @response.media_type end def test_index_closed