Commit 4013a294bda42004ca54639b0f1c77bb617bac59
1 parent
d17e2767
Exists in
master
and in
29 other branches
Fixing test
I ask myself how the hell this test was passing before
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
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 |