thoughtbot--shoulda-matchers/lib
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
..
shoulda Rewrite the tests for ComparisonMatcher 2015-09-25 17:45:33 -06:00
shoulda-matchers.rb Switched to allowing a more canonical require statement 2011-01-31 16:45:13 -05:00