From d6789794735afe2407184c4d05be450aea8fd678 Mon Sep 17 00:00:00 2001 From: Rodrigo Souto Date: Tue, 20 Aug 2013 19:51:15 -0300 Subject: [PATCH] [postgres-tests] Fixing search controller tests --- test/functional/search_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/search_controller_test.rb b/test/functional/search_controller_test.rb index 17a42d8..7618a66 100644 --- a/test/functional/search_controller_test.rb +++ b/test/functional/search_controller_test.rb @@ -425,7 +425,7 @@ class SearchControllerTest < ActionController::TestCase should 'show link to article asset in the see all foot link of the articles block in the category page' do (1..SearchController::MULTIPLE_SEARCH_LIMIT+1).each do |i| a = create_user("test#{i}").person.articles.create!(:name => "article #{i} to be found") - a.categories << @category + ArticleCategorization.add_category_to_article(@category, a) end get :category_index, :category_path => [ 'my-category' ] -- libgit2 0.21.2