Commit e6fdb803282cbe97c74cb0dfc3409fe9c6407795

Authored by Victor Costa
1 parent ae2c7ab3

Fix manage products test

test/functional/manage_products_controller_test.rb
... ... @@ -150,7 +150,7 @@ class ManageProductsControllerTest < ActionController::TestCase
150 150 category2 = fast_create(ProductCategory, :name => 'Category 2', :parent_id => category1.id)
151 151 category3 = fast_create(ProductCategory, :name => 'Category 3', :parent_id => category2.id)
152 152 get :new, :profile => @enterprise.identifier
153   - assert_tag :tag => 'select', :attributes => { :id => 'category_id' }, :descendant => { :tag => 'option', :content => category1.name }
  153 + assert_tag :tag => 'select', :attributes => { :id => 'category_id' }, :descendant => { :tag => 'option', :content => category1.name + " »" }
154 154 end
155 155  
156 156 should "create new product categorized" do
... ...