Commit bd787d2653c477ce2920c92dd8253f0d85bdd8ed
1 parent
331b9925
Exists in
master
and in
28 other branches
ActionItem154: still fixing tests to cope with feed beying created automatically
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1366 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/functional/content_viewer_controller_test.rb
... | ... | @@ -92,11 +92,11 @@ class ContentViewerControllerTest < Test::Unit::TestCase |
92 | 92 | page = profile.articles.build(:name => 'myarticle', :body => 'the body of the text') |
93 | 93 | page.save! |
94 | 94 | |
95 | - feed = RssFeed.new(:name => 'feed') | |
95 | + feed = RssFeed.new(:name => 'testfeed') | |
96 | 96 | feed.profile = profile |
97 | 97 | feed.save! |
98 | 98 | |
99 | - get :view_page, :profile => 'someone', :page => [ 'feed' ] | |
99 | + get :view_page, :profile => 'someone', :page => [ 'testfeed' ] | |
100 | 100 | |
101 | 101 | assert_response :success |
102 | 102 | assert_match /^text\/xml/, @response.headers['Content-Type'] | ... | ... |