thoughtbot--shoulda-matchers/spec/unit/shoulda/matchers/active_model/numericality_matchers
Elliot Winkler ef80d2be42 Rewrite the tests for ComparisonMatcher
Why:

* The tests for ComparisonMatcher don't actually test
  ComparisonMatcher -- they test the comparison qualifiers for
  NumericalityMatcher. Not only is this misleading, but it also creates
  a problem as `validate_numericality_of` is no longer available in any
  example group, but only ones that have been specially tagged.

To satisfy the above:

* Ensure that the tests build an instance of ComparisonMatcher and test
  against that.
* Fix style issues with the tests.
* Additionally, add a #description method to ComparisonMatcher while
  we're at it.
2015-09-25 17:45:33 -06:00
..
comparison_matcher_spec.rb Rewrite the tests for ComparisonMatcher 2015-09-25 17:45:33 -06:00
even_number_matcher_spec.rb Add #on qualifier to numericality matcher 2015-04-03 23:28:29 -06:00
odd_number_matcher_spec.rb Add #on qualifier to numericality matcher 2015-04-03 23:28:29 -06:00
only_integer_matcher_spec.rb Add #on qualifier to numericality matcher 2015-04-03 23:28:29 -06:00