1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/lib/shoulda/matchers/active_model
Elliot Winkler 2e35b3730e Refactor inclusion & exclusion matchers
This is part of a collection of commits that aim to improve failure
messages across the board, in order to make matchers easier to debug
when something goes wrong.

* Make the description of the matcher more readable.
* Add boolean methods to check whether `allow_nil` or `allow_blank` have
  been specified, to conform to the interface that ValidationMatcher
  introduces.
* 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 Refactor absence matcher 2015-12-13 20:22:22 -07:00
validate_acceptance_of_matcher.rb Refactor acceptance matcher 2015-12-13 20:22:22 -07:00
validate_confirmation_of_matcher.rb Refactor confirmation matcher 2015-12-13 20:22:22 -07:00
validate_exclusion_of_matcher.rb Refactor inclusion & exclusion matchers 2015-12-13 20:22:22 -07:00
validate_inclusion_of_matcher.rb Refactor inclusion & exclusion matchers 2015-12-13 20:22:22 -07: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 Remove Rails 3.x, Ruby 1.9.2, Ruby 1.9.3 2015-02-09 10:52:22 -07:00
validator.rb Refactor allow_value & disallow_value 2015-12-13 20:22:22 -07:00