diff --git a/app/views/modules/_metric_result.html.erb b/app/views/modules/_metric_result.html.erb
index 70a630c..9eecac9 100644
--- a/app/views/modules/_metric_result.html.erb
+++ b/app/views/modules/_metric_result.html.erb
@@ -1,5 +1,5 @@
<% metric_configuration = metric_result.metric_configuration %>
-<% unless metric_configuration.kalibro_ranges.nil? %>
+<% unless metric_configuration.metric.type == "HotspotMetricSnapshot" %>
<% range_snapshot = find_range_snapshot(metric_result)
metric_name = metric_configuration.metric.name
%>
diff --git a/features/repository/show/hotspot_metric_results.feature b/features/repository/show/hotspot_metric_results.feature
index 98ce2eb..702a425 100644
--- a/features/repository/show/hotspot_metric_results.feature
+++ b/features/repository/show/hotspot_metric_results.feature
@@ -3,7 +3,7 @@ Feature: Repository hotspot metric results
As a regular user
I should see the hotspot metric results list
- @kalibro_configuration_restart @kalibro_processor_restart @javascript @wip
+ @kalibro_configuration_restart @kalibro_processor_restart @javascript
Scenario: Should show the message when the graphic of the given metric has only a single point
Given I am a regular user
And I am signed in
@@ -26,6 +26,8 @@ Feature: Repository hotspot metric results
Then I should have at least one hotspot metric result
And I should see the hotspot metric results file names
And I should see the hotspot metric results messages
+ When I click the "Tree Metric Results" h3
+ Then I should not see "Duplicate Code"
@kalibro_configuration_restart @kalibro_processor_restart @javascript
Scenario: Should show the error message when the process fails
--
libgit2 0.21.2