mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
ef80d2be42
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. |
||
---|---|---|
.. | ||
matchers |