Commit 696acea8678448888473f9cf76fbe5695cdec863

Authored by Leandro Santos
2 parents 526b2e14 77c50404

Merge branches 'rails3_AI3033-serpro_integration' and 'rails3_stable' into rails3_stable

plugins/serpro_integration/lib/serpro_integration_plugin/smile_block.rb
... ... @@ -33,9 +33,6 @@ class SerproIntegrationPlugin::SmileBlock < Block
33 33 #FIXME make this test
34 34 def smile_factor
35 35 collect_sonar_information
36   - factor = (self.sonar_info[METRIC_COVERAGE] * self.sonar_info[METRIC_SUCCESS_DENSITY]).to_f/1000
37   - factor
38   - collect_sonar_information
39 36 factor = 0
40 37 if self.sonar_info[METRIC_COVERAGE] && self.sonar_info[METRIC_SUCCESS_DENSITY]
41 38 factor = (self.sonar_info[METRIC_COVERAGE] * self.sonar_info[METRIC_SUCCESS_DENSITY]).to_f/1000
... ...