thoughtbot--shoulda-matchers/lib/shoulda/matchers
Elliot Winkler 583be384c3 Refactor allow_value & disallow_value
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.

* Have the failure message describe more clearly what the `allow_value`
  matcher was trying to do when it failed.
* Make the description of the matcher more readable.
* For each value that `allow_value` sets, use a different Validator
  instance. The matcher still changes state as it runs, but a future
  commit will refactor this further.
* Merge StrictValidator back into Validator, and remove it. The way that
  StrictValidator worked (as a module that was mixed into an instance of
  Validator at runtime) was confusing, and there's really no need to
  split out the logic anymore.
* Fix or fill in tests involving failure messages and descriptions.
2015-12-13 20:22:22 -07:00
..
action_controller Remove unused methods 2015-11-19 23:42:49 -07:00
active_model Refactor allow_value & disallow_value 2015-12-13 20:22:22 -07:00
active_record Update on validates_uniqueness_of documentation example 2015-10-27 21:39:36 -06:00
doublespeak Improve architecture for permit matcher 2015-09-29 18:42:08 -06:00
independent Make independent matchers really independent 2015-10-01 10:12:17 -06:00
integrations Add a new Routing module 2015-09-25 17:45:33 -06:00
util word_wrap: Add ability to indent wrapped text 2015-12-13 20:22:21 -07:00
action_controller.rb Rename StrongParametersMatcher to PermitMatcher 2015-02-28 19:30:33 -07:00
active_model.rb Refactor allow_value & disallow_value 2015-12-13 20:22:22 -07:00
active_record.rb Move uniqueness validation to ActiveRecord module 2014-12-13 17:53:16 -05:00
configuration.rb Remove auto-detection of Rails / test framework 2015-02-09 10:52:51 -07:00
doublespeak.rb Permit matcher now supports subparameters 2015-03-01 01:32:00 -07:00
error.rb Tighten CouldNotSetAttributeError restriction 2015-09-27 14:56:59 -06:00
independent.rb Rename DelegateMatcher to DelegateMethodMatcher 2014-08-29 11:57:26 -06:00
integrations.rb Omit newest private modules from docs 2015-03-01 01:20:45 -07:00
matcher_context.rb Documentation updates 2014-12-25 01:13:30 -05:00
rails_shim.rb Remove Rails 3.x, Ruby 1.9.2, Ruby 1.9.3 2015-02-09 10:52:22 -07:00
routing.rb Hide Routing module in docs 2015-09-30 13:18:28 -06:00
util.rb Add a_or_an utility method 2015-12-13 20:22:21 -07:00
version.rb Bump version to 3.0.1 2015-10-23 14:42:36 -06:00
warn.rb Improve the word_wrap utility method 2015-10-08 21:30:41 -06:00