From 20af4df25a63fffc493c0fb208d80da783b4c9f1 Mon Sep 17 00:00:00 2001 From: Eduardo Passos Date: Tue, 10 Feb 2015 00:26:51 -0300 Subject: [PATCH] count products test fix --- plugins/statistics/test/functional/statistics_plugin_home_controller_test.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/plugins/statistics/test/functional/statistics_plugin_home_controller_test.rb b/plugins/statistics/test/functional/statistics_plugin_home_controller_test.rb index b511966..cbb809c 100644 --- a/plugins/statistics/test/functional/statistics_plugin_home_controller_test.rb +++ b/plugins/statistics/test/functional/statistics_plugin_home_controller_test.rb @@ -76,6 +76,7 @@ class HomeControllerTest < ActionController::TestCase should 'display products class in statistics-block-data block' do @block.product_counter = true + @environment.enable('products_for_enterprises') @block.save! get :index -- libgit2 0.21.2