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
Elliot Winkler b550b78fae Refactor length 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.

* Make the description of the matcher more readable.
* Override #with_message (provided by ValidationMatcher) as there are
  two instance variables to hold messages here.
* Make other changes that conform to the interface that
  ValidationMatcher introduces.
2015-12-13 20:22:23 -07:00
..
action_controller
active_model Refactor length matcher 2015-12-13 20:22:23 -07:00
active_record
doublespeak
independent
integrations
util
action_controller.rb
active_model.rb
active_record.rb
configuration.rb
doublespeak.rb
error.rb
independent.rb
integrations.rb
matcher_context.rb
rails_shim.rb
routing.rb
util.rb
version.rb
warn.rb