From 4c3afbb3b183520693c3b7b824770a234973ad56 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Tue, 19 Feb 2008 19:11:10 +0000 Subject: [PATCH] ActionItem170: rails 2.0 seems to have changed the way Content-Type is handled (at least for tests). The corresponding code is working, anyway. --- test/functional/content_viewer_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/content_viewer_controller_test.rb b/test/functional/content_viewer_controller_test.rb index d73541a..8182507 100644 --- a/test/functional/content_viewer_controller_test.rb +++ b/test/functional/content_viewer_controller_test.rb @@ -99,7 +99,7 @@ class ContentViewerControllerTest < Test::Unit::TestCase get :view_page, :profile => 'someone', :page => [ 'testfeed' ] assert_response :success - assert_match /^text\/xml/, @response.headers['Content-Type'] + assert_match /^text\/xml/, @response.headers['type'] assert_equal feed.data, @response.body end -- libgit2 0.21.2