Commit fd398cc075512df57cbeb8d30080157fdbc72be8

Authored by Braulio Bhavamitra
2 parents c8957baf 20af4df2

Merge branch 'count-products' into 'master'

Count products test fix

Just a small fix on test: environment.enable method.

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