Fixed unit test for beginning uniqueness validator

And also edited mezuro_range model and its unit tests

signed-off-by: Diego Araújo <diegoamc90@gmail.com>
Unit test for mezuro_range helper

signed-off-by: Diego Araújo <diegoamc90@gmail.com>
Helper for show page link of metric configurations.
Show feature for compound metric configuration.
Fixed no_readings partial.

Changed @reading_group.id to @reading_group_id.
Created feature to add new ranges

Pending unit tests to create action and acceptance tests for range features.

signed-off-by: Fellipe Souto Sampaio <fllsouto@gmail.com>
signed-off-by: Renan Fichberg <rfichberg@gmail.com>
Unit tests for mezuro range creation.

signed-off-by: Renan Fichberg <rfichberg@gmail.com>
Included missing Mock

signed-off-by: Diego Araujo <diegoamc90@gmail.com>
new metric_configuration route with post method

It's getting problem when the coffee script calls the action via jquery. Use the cosole [firebug] to inspect it.
Choose metric page sends data using post method

Instead of send data via get: it causes error when the metric name had special characters.

signed-off-by: Diego Araújo <diegoamc90@gmail.com>
Encapsulating kalibro gem Mezuro Range method

signed-off-by: Diego Araújo <diegoamc90@gmail.com>
Listing ranges in metric configuration show

Reading color should be displayed in other way instead of show its color in the ranges label text.

signed-off-by: Diego Araújo <diegoamc90@gmail.com>
Acceptance test for Range create feature

signed-off-by: Diego Araújo <diegoamc90@gmail.com>
Missing mock on Metric Configuration controller fixed.

Fixed scenario of range creation feature.

signed-off-by: Renan Fichberg <rfichberg@gmail.com>
Destroy action to mezuro ranges
Destroy range redircting to expected page properly
Acceptance test for Range Destroy feature

signed-off-by: Fellipe Souto Sampaio <fllsouto@gmail.com>
Edit and update feature for mezuro range

Pending unit and acceptance tests

signed-off-by: Renan Fichberg <rfichberg@gmail.com>
Numericaly validation for end and begging

Pending improve acceptance test and customize the error message