Commit 4013a294bda42004ca54639b0f1c77bb617bac59

Authored by Antonio Terceiro
1 parent d17e2767

Fixing test

I ask myself how the hell this test was passing before
test/functional/content_viewer_controller_test.rb
@@ -78,7 +78,7 @@ class ContentViewerControllerTest < ActionController::TestCase @@ -78,7 +78,7 @@ class ContentViewerControllerTest < ActionController::TestCase
78 get :view_page, :profile => 'someone', :page => [ 'testfeed' ] 78 get :view_page, :profile => 'someone', :page => [ 'testfeed' ]
79 79
80 assert_response :success 80 assert_response :success
81 - assert_match /^text\/xml/, @response.headers['type'] 81 + assert_match /^text\/xml/, @response.headers['Content-Type']
82 82
83 assert_equal feed.data, @response.body 83 assert_equal feed.data, @response.body
84 end 84 end