thoughtbot--shoulda-matchers/lib/shoulda/matchers/active_model
Elliot Winkler bffc9c9b73 Refactor numericality matcher
This is part of a collection of commits that aim to improve failure
messages across the board. The goal here is to make the matcher easier
to debug when something goes wrong.

* Have the failure message describe what the matcher was trying to do
  when it failed.
* Make the description of the matcher more readable.
* Change how the matcher works by stopping at the first failing
  submatcher instead of running all submatchers. Coincidentally, pending
  tests involving a strict validation but a non-strict expectation now
  pass.
* Fix or fill in tests involving failure messages and descriptions to
  match these changes and recent changes to ValidationMatcher and
  allow_value.
2015-12-13 20:22:22 -07:00
..
numericality_matchers Refactor numericality matcher 2015-12-13 20:22:22 -07:00
validation_matcher Refactor ValidationMatcher 2015-12-13 20:22:21 -07:00
allow_mass_assignment_of_matcher.rb Refer to Minitest in docs over Test::Unit 2015-09-30 13:18:23 -06:00
allow_value_matcher.rb Refactor allow_value & disallow_value 2015-12-13 20:22:22 -07:00
disallow_value_matcher.rb Refactor allow_value & disallow_value 2015-12-13 20:22:22 -07:00
errors.rb
have_secure_password_matcher.rb Refer to Minitest in docs over Test::Unit 2015-09-30 13:18:23 -06:00
helpers.rb Refactor allow_value & disallow_value 2015-12-13 20:22:22 -07:00
numericality_matchers.rb
validate_absence_of_matcher.rb Refer to Minitest in docs over Test::Unit 2015-09-30 13:18:23 -06:00
validate_acceptance_of_matcher.rb Refer to Minitest in docs over Test::Unit 2015-09-30 13:18:23 -06:00
validate_confirmation_of_matcher.rb Refer to Minitest in docs over Test::Unit 2015-09-30 13:18:23 -06:00
validate_exclusion_of_matcher.rb Refer to Minitest in docs over Test::Unit 2015-09-30 13:18:23 -06:00
validate_inclusion_of_matcher.rb Fix inclusion matcher w/ date & datetime attrs 2015-10-04 16:55:48 -06:00
validate_length_of_matcher.rb Refer to Minitest in docs over Test::Unit 2015-09-30 13:18:23 -06:00
validate_numericality_of_matcher.rb Refactor numericality matcher 2015-12-13 20:22:22 -07:00
validate_presence_of_matcher.rb Refer to Minitest in docs over Test::Unit 2015-09-30 13:18:23 -06:00
validation_matcher.rb Refactor ValidationMatcher 2015-12-13 20:22:21 -07:00
validation_message_finder.rb
validator.rb Refactor allow_value & disallow_value 2015-12-13 20:22:22 -07:00