X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/22cd2314e52373d8fbe84a082c3ed058dfea8d40..1f4d48eaf35f5e26909cf7b63ab72c77420546b1:/test/controllers/changeset_comments_controller_test.rb diff --git a/test/controllers/changeset_comments_controller_test.rb b/test/controllers/changeset_comments_controller_test.rb index 2d13bd92b..a1a00c5dc 100644 --- a/test/controllers/changeset_comments_controller_test.rb +++ b/test/controllers/changeset_comments_controller_test.rb @@ -22,7 +22,7 @@ class ChangesetCommentsControllerTest < ActionController::TestCase get :index, :params => { :format => "rss" } assert_response :success - assert_equal "application/rss+xml", @response.content_type + assert_equal "application/rss+xml", @response.media_type assert_select "rss", :count => 1 do assert_select "channel", :count => 1 do assert_select "item", :count => 3 @@ -31,7 +31,7 @@ class ChangesetCommentsControllerTest < ActionController::TestCase get :index, :params => { :format => "rss", :limit => 2 } assert_response :success - assert_equal "application/rss+xml", @response.content_type + assert_equal "application/rss+xml", @response.media_type assert_select "rss", :count => 1 do assert_select "channel", :count => 1 do assert_select "item", :count => 2 @@ -40,7 +40,7 @@ class ChangesetCommentsControllerTest < ActionController::TestCase get :index, :params => { :id => changeset.id, :format => "rss" } assert_response :success - assert_equal "application/rss+xml", @response.content_type + assert_equal "application/rss+xml", @response.media_type assert_select "rss", :count => 1 do assert_select "channel", :count => 1 do assert_select "item", :count => 3