noosfero | 2 new commits pushed to repository

Bráulio Bhavamitra gitlab at gitlab.com
Tue Feb 10 07:00:45 BRST 2015


Bráulio Bhavamitra pushed to refs/heads/master at <a href="https://gitlab.com/noosfero/noosfero">Noosfero / noosfero</a>

Commits:
<a href="https://gitlab.com/noosfero/noosfero/commit/20af4df25a63fffc493c0fb208d80da783b4c9f1">20af4df2</a> by Eduardo Passos
count products test fix

- - - - -
<a href="https://gitlab.com/noosfero/noosfero/commit/fd398cc075512df57cbeb8d30080157fdbc72be8">fd398cc0</a> by Bráulio Bhavamitra
Merge branch 'count-products' into 'master'

Count products test fix

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

See merge request !462

- - - - -


Changes:

=====================================
plugins/statistics/test/functional/statistics_plugin_home_controller_test.rb
=====================================
--- 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
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20150210/db0cc045/attachment-0001.html>


More information about the Noosfero-dev mailing list