[PATCH conductor] Fixed JSON for deployments in pools#index(pretty view) - rev.

jzigmund at redhat.com jzigmund at redhat.com
Tue Sep 11 16:37:48 UTC 2012


From: Jozef Zigmund <jzigmund at redhat.com>

This patch is fixing failing tests on travis-cl. Cuke fails were
caused by previous patch
(commit msg c3b1d79b729d01fa0b91455510466f3871247b29) and
they appeared only when cukes runs on bundled gems.
---
 src/app/helpers/mustache_helper.rb | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/app/helpers/mustache_helper.rb b/src/app/helpers/mustache_helper.rb
index 7be992a..d8d3426 100644
--- a/src/app/helpers/mustache_helper.rb
+++ b/src/app/helpers/mustache_helper.rb
@@ -122,8 +122,7 @@ module MustacheHelper
                                                              current_user,
                                                              Privilege::VIEW).
                                                ascending_by_name, params[:page],
-                                               PER_PAGE).
-          map {|deployment| view_context.deployment_for_mustache(deployment)}
+                                               PER_PAGE).map{ |deployment| deployment_for_mustache(deployment) }
 
     }
   end
-- 
1.7.11.4




More information about the aeolus-devel mailing list