From 95a37ccc9a207cea963ebe13dcd37e3b86acd479 Mon Sep 17 00:00:00 2001 From: Daniela Soares Feitosa Date: Fri, 4 Mar 2011 14:09:34 -0300 Subject: [PATCH] Revert "Verifying controller on display_profile_info test" --- test/unit/search_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/search_helper_test.rb b/test/unit/search_helper_test.rb index 150504a..8840a83 100644 --- a/test/unit/search_helper_test.rb +++ b/test/unit/search_helper_test.rb @@ -51,8 +51,8 @@ class SearchHelperTest < Test::Unit::TestCase product1 = fast_create(Product, :enterprise_id => enterprise.id) product2 = fast_create(Product, :enterprise_id => enterprise.id) result = display_profile_info(enterprise) - assert_tag_in_string result, :tag => 'a', :attributes => {:href => /:controller=>\"manage_products\", :id=>#{product1.id}/}, :content => product1.name - assert_tag_in_string result, :tag => 'a', :attributes => {:href => /:controller=>\"manage_products\", :id=>#{product2.id}/}, :content => product2.name + assert_tag_in_string result, :tag => 'a', :attributes => {:href => /:id=>#{product1.id}/}, :content => product1.name + assert_tag_in_string result, :tag => 'a', :attributes => {:href => /:id=>#{product2.id}/}, :content => product2.name end protected -- libgit2 0.21.2