Refactored project unit tests.
Refactoring repository unit tests
Refactored repository unit tests.

Also a little fix on project unit test.
Padronized the texts in base_tool_spec.rb
Refactored base tool
Configuration refactored
Date Metric Result refactored
Date Module Result refactored.
Metric refactored.
Refactored Metric Configuration
Refactored metric_configuration_snapshot

Signed-off-by: Guilherme Rojas V. de Lima <guilhermehrojas@gmail.com>
New method to convert hash to array

Signed-off-by: Renan Fichberg <rfichberg@gmail.com>
Refactored Metric result

Signed-off-by: Renan Fichberg <rfichberg@gmail.com>
Refactored the module result

Signed-off-by: Renan Fichberg <rfichberg@gmail.com>
Refactored the processing

Signed-off-by: Renan Fichberg <rfichberg@gmail.com>
Refactored the reading group

Signed-off-by: Renan Fichberg <rfichberg@gmail.com>
Unit tests revision are done.

Signed-off-by: Fellipe Souto <fllsouto@gmail.com>
Refactored the creation of objects using model methods.

Signed-off-by: Fellipe Souto <fllsouto@gmail.com>
Refactoring acceptance tests

Metric result, project, range and repository seems broken
Implemented pending steps for repository and project