Commit d1ec1c3f17a7f01ef482eaf0e335903041ccb280

Authored by Rafael Manzo
Committed by Heitor
1 parent 2f0d2871

Fix metric result missing range acceptance test

The step was using an outdated API.

Signed off by: Heitor Reis <marcheing@gmail.com>
features/repository/show/metric_results.feature
... ... @@ -23,7 +23,7 @@ Feature: Repository metric results
23 23 When I wait up for the ajax request
24 24 Then I should see "There is only one point and it will not be printed into a chart."
25 25  
26   - @kalibro_configuration_restart @kalibro_processor_restart @javascript @wip
  26 + @kalibro_configuration_restart @kalibro_processor_restart @javascript
27 27 Scenario: Should show no range message after a process without range
28 28 Given I am a regular user
29 29 And I am signed in
... ...
features/step_definitions/repository_steps.rb
... ... @@ -96,7 +96,7 @@ Given(/^I ask for the module result of the given processing$/) do
96 96 end
97 97  
98 98 Given(/^I ask for the metric results of the given module result$/) do
99   - @metric_results = @module_result.metric_results
  99 + @metric_results = @module_result.tree_metric_results
100 100 end
101 101  
102 102 Given(/^I see a sample metric's name$/) do
... ...