]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/changesets_controller_test.rb
Add bbox parameter to notes search api
[rails.git] / test / controllers / api / changesets_controller_test.rb
index fd1940d6b2b973814e2b92f7ee590bd8debc3629..d4656a5ea24a1295a509924313dfd1c55388d6be 100644 (file)
@@ -1863,8 +1863,10 @@ module Api
       # not found when looking for changesets of non-existing users
       get changesets_path(:user => User.maximum(:id) + 1)
       assert_response :not_found
+      assert_equal "text/plain", @response.media_type
       get changesets_path(:display_name => " ")
       assert_response :not_found
+      assert_equal "text/plain", @response.media_type
 
       # can't get changesets of user 1 without authenticating
       get changesets_path(:user => private_user.id)