]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/user_preference_controller_test.rb
Remove all use of the :text option to render
[rails.git] / test / controllers / user_preference_controller_test.rb
index fac864ae9e6d63d46735edd359ac85020b914f24..ff6e19c38540b41df6fe66c88b4eaa57f38ff146 100644 (file)
@@ -53,7 +53,7 @@ class UserPreferenceControllerTest < ActionController::TestCase
     # try the read again
     get :read
     assert_response :success
-    assert_equal "text/xml", @response.content_type
+    assert_equal "application/xml", @response.content_type
     assert_select "osm" do
       assert_select "preferences", :count => 1 do
         assert_select "preference", :count => 2