thoughtbot--shoulda-matchers/spec
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
..
acceptance Allow the use of matchers from multiple libs, for non rails projects. 2015-06-01 00:43:07 -06:00
support Stop handling AR RangeError when assign a attribute 2015-09-23 15:46:32 -06:00
unit/shoulda/matchers Rewrite the tests for ComparisonMatcher 2015-09-25 17:45:33 -06:00
warnings_spy Be better about looking for warnings on Travis 2014-12-16 20:30:05 -07:00
acceptance_spec_helper.rb Use pry-byebug instead of pry-nav 2015-04-02 20:13:33 -06:00
doublespeak_spec_helper.rb Make Doublespeak specs runnable without Rails 2015-02-28 23:41:28 -07:00
report_warnings.rb Remove all Ruby-emitted warnings 2014-07-18 18:00:08 -06:00
unit_spec_helper.rb Run formatter documentation when running a single file 2015-06-13 10:37:31 -03:00
warnings_spy.rb Fail build if there are warnings 2015-02-09 10:48:49 -07:00