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/spec/shoulda/matchers
Elliot Winkler a1d1635383 Fix allow_value + i18n validation messages
Previously, `allow_value` failed when qualified with `with_message` and
the `:against` option. This also happened to propagate downward to
`validate_confirmation_of` since it uses `allow_value` + `:against`
(when a confirmation validation fails, it assigns the error message to
the *_confirmation attribute, not the attribute being confirmed).
This commit fixes both matchers.
2014-10-21 01:23:47 -06:00
..
action_controller Using RSpec 3 for development. 2014-08-14 12:16:54 -04:00
active_model Fix allow_value + i18n validation messages 2014-10-21 01:23:47 -06:00
active_record Make sure foreign keys can be specified as symbols for has_and_belongs_to_many associations. 2014-10-09 01:36:04 -06:00
doublespeak Using RSpec 3 for development. 2014-08-14 12:16:54 -04:00
independent Reword failure message for #delegate_method 2014-09-03 00:28:24 -06:00
doublespeak_spec.rb Allow multiple StrongParametersMatchers to exist at once. 2014-06-21 21:56:47 -06:00