thoughtbot--shoulda-matchers/lib/shoulda
Elliot Winkler 360477dac0 Refactor uniqueness matcher
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 what the matcher was trying to do
  when it failed.
* Make the description of the matcher more readable.
* Refactor the matcher so that it no longer unnecessarily creates
  records, but re-uses the existing record if it can instead. This
  makes the logic that the matcher performs slightly easier to follow.
* Fix or fill in tests involving failure messages and descriptions to
  match these changes and recent changes to ValidationMatcher.
2015-12-13 20:22:23 -07:00
..
matchers Refactor uniqueness matcher 2015-12-13 20:22:23 -07:00
matchers.rb Add a new Routing module 2015-09-25 17:45:33 -06:00