Commit 2f0d2871ae034c735e5f7cc9e75d6b8a4d79775a

Authored by Heitor
1 parent 6d19fa16

Fix showing of metric_results on repository show

 * Currently using tree_metric_results to get the results from the
module

Signed off by: Diego Araújo <diegoamc90@gmail.com>
app/views/modules/_metric_results.html.erb
@@ -10,7 +10,7 @@ @@ -10,7 +10,7 @@
10 10
11 <tbody> 11 <tbody>
12 <% cache("#{@root_module_result.id}_results") do %> 12 <% cache("#{@root_module_result.id}_results") do %>
13 - <%= render partial: 'metric_result', collection: @root_module_result.metric_results, locals: {module_result: @root_module_result} %> 13 + <%= render partial: 'metric_result', collection: @root_module_result.tree_metric_results, locals: {module_result: @root_module_result} %>
14 <% end %> 14 <% end %>
15 </tbody> 15 </tbody>
16 </table> 16 </table>
features/repository/show/repository_info.feature
@@ -20,7 +20,7 @@ Feature: Show Repository @@ -20,7 +20,7 @@ Feature: Show Repository
20 And I should see "License" 20 And I should see "License"
21 And I should see the given repository's content 21 And I should see the given repository's content
22 22
23 - @kalibro_configuration_restart @kalibro_processor_restart @javascript @wip 23 + @kalibro_configuration_restart @kalibro_processor_restart @javascript
24 Scenario: With a ready processing and asking to reprocess 24 Scenario: With a ready processing and asking to reprocess
25 Given I am a regular user 25 Given I am a regular user
26 And I am signed in 26 And I am signed in