From 2f0d2871ae034c735e5f7cc9e75d6b8a4d79775a Mon Sep 17 00:00:00 2001 From: Heitor Reis Date: Thu, 1 Oct 2015 15:50:39 -0300 Subject: [PATCH] Fix showing of metric_results on repository show --- app/views/modules/_metric_results.html.erb | 2 +- features/repository/show/repository_info.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/modules/_metric_results.html.erb b/app/views/modules/_metric_results.html.erb index d1c2427..ae2ae5d 100644 --- a/app/views/modules/_metric_results.html.erb +++ b/app/views/modules/_metric_results.html.erb @@ -10,7 +10,7 @@ <% cache("#{@root_module_result.id}_results") do %> - <%= render partial: 'metric_result', collection: @root_module_result.metric_results, locals: {module_result: @root_module_result} %> + <%= render partial: 'metric_result', collection: @root_module_result.tree_metric_results, locals: {module_result: @root_module_result} %> <% end %> diff --git a/features/repository/show/repository_info.feature b/features/repository/show/repository_info.feature index 8a6b0b4..d19e41c 100644 --- a/features/repository/show/repository_info.feature +++ b/features/repository/show/repository_info.feature @@ -20,7 +20,7 @@ Feature: Show Repository And I should see "License" And I should see the given repository's content - @kalibro_configuration_restart @kalibro_processor_restart @javascript @wip + @kalibro_configuration_restart @kalibro_processor_restart @javascript Scenario: With a ready processing and asking to reprocess Given I am a regular user And I am signed in -- libgit2 0.21.2