Commit 4c3afbb3b183520693c3b7b824770a234973ad56
1 parent
d6ff18cd
Exists in
master
and in
29 other branches
ActionItem170: rails 2.0 seems to have changed the way Content-Type is handled (…
…at least for tests). The corresponding code is working, anyway. git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1441 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/functional/content_viewer_controller_test.rb
... | ... | @@ -99,7 +99,7 @@ class ContentViewerControllerTest < Test::Unit::TestCase |
99 | 99 | get :view_page, :profile => 'someone', :page => [ 'testfeed' ] |
100 | 100 | |
101 | 101 | assert_response :success |
102 | - assert_match /^text\/xml/, @response.headers['Content-Type'] | |
102 | + assert_match /^text\/xml/, @response.headers['type'] | |
103 | 103 | |
104 | 104 | assert_equal feed.data, @response.body |
105 | 105 | end | ... | ... |