On 11.9.2012 18:37, jzigmund(a)redhat.com wrote:
From: Jozef Zigmund <jzigmund(a)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
Works for me, ACK and pushed to master.