Commit 4468ca6f6d11afbef0f4b0677e15275a6f9b5ffe
Exists in
master
and in
29 other branches
Merge remote-tracking branch 'origin/master'
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
plugins/statistics/test/functional/statistics_plugin_home_controller_test.rb
100644 → 100755
... | ... | @@ -84,6 +84,9 @@ class HomeControllerTest < ActionController::TestCase |
84 | 84 | end |
85 | 85 | |
86 | 86 | should 'not display products class in statistics-block-data block' do |
87 | + @block.product_counter = true | |
88 | + @environment.disable('products_for_enterprises') | |
89 | + @block.save! | |
87 | 90 | get :index |
88 | 91 | |
89 | 92 | assert_no_tag :tag => 'div', :attributes => {:class => 'statistics-block-data'}, :descendant => { :tag => 'li', :attributes => {:class => 'products'} } | ... | ... |