From bd787d2653c477ce2920c92dd8253f0d85bdd8ed Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Wed, 13 Feb 2008 23:25:42 +0000 Subject: [PATCH] ActionItem154: still fixing tests to cope with feed beying created automatically --- test/functional/content_viewer_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/content_viewer_controller_test.rb b/test/functional/content_viewer_controller_test.rb index b0be9fa..d73541a 100644 --- a/test/functional/content_viewer_controller_test.rb +++ b/test/functional/content_viewer_controller_test.rb @@ -92,11 +92,11 @@ class ContentViewerControllerTest < Test::Unit::TestCase page = profile.articles.build(:name => 'myarticle', :body => 'the body of the text') page.save! - feed = RssFeed.new(:name => 'feed') + feed = RssFeed.new(:name => 'testfeed') feed.profile = profile feed.save! - get :view_page, :profile => 'someone', :page => [ 'feed' ] + get :view_page, :profile => 'someone', :page => [ 'testfeed' ] assert_response :success assert_match /^text\/xml/, @response.headers['Content-Type'] -- libgit2 0.21.2