From 2636b2929d88f80b61de7fcb9731ce7f3349078f Mon Sep 17 00:00:00 2001 From: MoisesMachado Date: Thu, 10 Jul 2008 23:25:37 +0000 Subject: [PATCH] ActionItem546: removed a test that was failing with this change --- test/functional/search_controller_test.rb | 9 --------- 1 file changed, 0 insertions(+), 9 deletions(-) diff --git a/test/functional/search_controller_test.rb b/test/functional/search_controller_test.rb index 7091e8b..b8cdbba 100644 --- a/test/functional/search_controller_test.rb +++ b/test/functional/search_controller_test.rb @@ -546,15 +546,6 @@ class SearchControllerTest < Test::Unit::TestCase assert_not_includes assigns('results')[:people], p2 end - should 'not show term "Category:" before product category' do - Profile.delete_all - ent = Enterprise.create!(:name => 'teste1', :identifier => 'teste1') - prod1 = ent.products.create!(:name => 'a beautiful product') - prod2 = ent.products.create!(:name => 'another beautiful product') - get :assets, :asset => 'products' - assert_no_match /Category:/, @response.body - end - should 'display category image while in directory' do parent = Category.create!(:name => 'category1', :environment => Environment.default) cat = Category.create!(:name => 'category2', :environment => Environment.default, :parent => parent, -- libgit2 0.21.2