From e6fdb803282cbe97c74cb0dfc3409fe9c6407795 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Mon, 3 Nov 2014 16:02:12 -0300 Subject: [PATCH] Fix manage products test --- test/functional/manage_products_controller_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/functional/manage_products_controller_test.rb b/test/functional/manage_products_controller_test.rb index 1803b98..d8d05f2 100644 --- a/test/functional/manage_products_controller_test.rb +++ b/test/functional/manage_products_controller_test.rb @@ -150,7 +150,7 @@ class ManageProductsControllerTest < ActionController::TestCase category2 = fast_create(ProductCategory, :name => 'Category 2', :parent_id => category1.id) category3 = fast_create(ProductCategory, :name => 'Category 3', :parent_id => category2.id) get :new, :profile => @enterprise.identifier - assert_tag :tag => 'select', :attributes => { :id => 'category_id' }, :descendant => { :tag => 'option', :content => category1.name } + assert_tag :tag => 'select', :attributes => { :id => 'category_id' }, :descendant => { :tag => 'option', :content => category1.name + " »" } end should "create new product categorized" do -- libgit2 0.21.2