Commit fea6e25b2f666420052cc42c1288ff58c653cd42

Authored by Diego Camarinha
Committed by Heitor
1 parent d188e995

Use Ruby metrics for module navigation feature

 * Analizo 1.17.0, used by Travis, did not work. So the
   test has been kept wipped for a very long time.

Signed off by: Rafael Reggiani Manzo <rr.manzo@gmail.com>
features/repository/show/modules_tree.feature
@@ -36,14 +36,12 @@ Feature: Repository modules tree @@ -36,14 +36,12 @@ Feature: Repository modules tree
36 And I should see "Granularity" 36 And I should see "Granularity"
37 And I should see "Grade" 37 And I should see "Grade"
38 38
39 - # This test is broken under analizo 1.17.0: https://www.pivotaltracker.com/story/show/80377258  
40 - @wip @kalibro_configuration_restart @kalibro_processor_restart @javascript 39 + @kalibro_configuration_restart @kalibro_processor_restart @javascript
41 Scenario: Module navigation 40 Scenario: Module navigation
42 Given I am a regular user 41 Given I am a regular user
43 And I am signed in 42 And I am signed in
44 - And I have a sample project  
45 - And I have a sample configuration with native metrics  
46 - And I have a sample repository within the sample project 43 + And I have a sample configuration with ruby native metrics
  44 + And I have a sample repository
47 And I start to process that repository 45 And I start to process that repository
48 And I wait up for a ready processing 46 And I wait up for a ready processing
49 And I ask for the last ready processing of the given repository 47 And I ask for the last ready processing of the given repository
spec/factories/metric_configurations.rb
@@ -2,7 +2,7 @@ FactoryGirl.define do @@ -2,7 +2,7 @@ FactoryGirl.define do
2 factory :metric_configuration, class: MetricConfiguration do 2 factory :metric_configuration, class: MetricConfiguration do
3 metric {FactoryGirl.build(:metric, code: 'total_abstract_classes')} 3 metric {FactoryGirl.build(:metric, code: 'total_abstract_classes')}
4 weight 1 4 weight 1
5 - aggregation_form "AVERAGE" 5 + aggregation_form "MEAN"
6 reading_group_id 1 6 reading_group_id 1
7 kalibro_configuration_id 1 7 kalibro_configuration_id 1
8 8