]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/user_controller_test.rb
Rework coordinates to avoid scientific formatting of small numbers. Fixes #1509
[rails.git] / test / controllers / user_controller_test.rb
index 0812ec786b93be7c431a73e776e8b106346a5335..51f8dfd400113c5a3c1cc67b386713b45d4fc973 100644 (file)
@@ -1122,7 +1122,7 @@ class UserControllerTest < ActionController::TestCase
     basic_authorization(user.email, "test")
     get :api_gpx_files
     assert_response :success
-    assert_equal "text/xml", response.content_type
+    assert_equal "application/xml", response.content_type
 
     # check the data that is returned
     assert_select "gpx_file[id='#{trace1.id}']", 1 do