Commit 20af4df25a63fffc493c0fb208d80da783b4c9f1

Authored by Eduardo Passos
1 parent f6ef9a7f

count products test fix

plugins/statistics/test/functional/statistics_plugin_home_controller_test.rb
@@ -76,6 +76,7 @@ class HomeControllerTest < ActionController::TestCase @@ -76,6 +76,7 @@ class HomeControllerTest < ActionController::TestCase
76 76
77 should 'display products class in statistics-block-data block' do 77 should 'display products class in statistics-block-data block' do
78 @block.product_counter = true 78 @block.product_counter = true
  79 + @environment.enable('products_for_enterprises')
79 @block.save! 80 @block.save!
80 get :index 81 get :index
81 82