X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/22cd2314e52373d8fbe84a082c3ed058dfea8d40..1f4d48eaf35f5e26909cf7b63ab72c77420546b1:/test/controllers/changesets_controller_test.rb diff --git a/test/controllers/changesets_controller_test.rb b/test/controllers/changesets_controller_test.rb index caf7721cd..e754e32b7 100644 --- a/test/controllers/changesets_controller_test.rb +++ b/test/controllers/changesets_controller_test.rb @@ -214,7 +214,7 @@ class ChangesetsControllerTest < ActionController::TestCase get :feed, :params => { :format => :atom } assert_response :success assert_template "index" - assert_equal "application/atom+xml", response.content_type + assert_equal "application/atom+xml", response.media_type check_feed_result([changeset, closed_changeset]) end @@ -232,7 +232,7 @@ class ChangesetsControllerTest < ActionController::TestCase get :feed, :params => { :format => :atom, :bbox => "4.5,4.5,5.5,5.5" } assert_response :success assert_template "index" - assert_equal "application/atom+xml", response.content_type + assert_equal "application/atom+xml", response.media_type check_feed_result([changeset, closed_changeset]) end @@ -250,7 +250,7 @@ class ChangesetsControllerTest < ActionController::TestCase assert_response :success assert_template "index" - assert_equal "application/atom+xml", response.content_type + assert_equal "application/atom+xml", response.media_type check_feed_result(changesets) end