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

Jiří Stránský jstransk at redhat.com
Wed Sep 12 08:32:43 UTC 2012


On 11.9.2012 18:37, jzigmund at redhat.com wrote:
> 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
>

Works for me, ACK and pushed to master.



More information about the aeolus-devel mailing list