Commit fd398cc075512df57cbeb8d30080157fdbc72be8
Exists in
master
and in
29 other branches
Merge branch 'count-products' into 'master'
Count products test fix Just a small fix on test: environment.enable method. See merge request !462
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
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 |