Commit 3b39f87c0d0f49ff443a0e5c325dc1196b7c3bd4
1 parent
a164bdc0
Exists in
master
and in
29 other branches
ActionItem567: fix tests
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2305 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
test/functional/search_controller_test.rb
... | ... | @@ -318,7 +318,6 @@ class SearchControllerTest < Test::Unit::TestCase |
318 | 318 | |
319 | 319 | # display only first name on people listing |
320 | 320 | assert_tag :tag => 'div', :attributes => { :class => /search-results-people/ }, :descendant => { :tag => 'h3', :content => /People/ } |
321 | - assert_tag :tag => 'a', :content => "display" | |
322 | 321 | end |
323 | 322 | |
324 | 323 | should 'present options of where to search' do |
... | ... | @@ -398,7 +397,7 @@ class SearchControllerTest < Test::Unit::TestCase |
398 | 397 | recent = [] |
399 | 398 | finger = CategoryFinder.new(@category) |
400 | 399 | finger.expects(:recent).with(any_parameters).at_least_once |
401 | - finger.expects(:recent).with('articles', anything).returns(recent) | |
400 | + finger.expects(:recent).with('text_articles', anything).returns(recent) | |
402 | 401 | CategoryFinder.expects(:new).with(@category).returns(finger) |
403 | 402 | |
404 | 403 | get :category_index, :category_path => [ 'my-category' ] | ... | ... |