mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
a1d1635383
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. |
||
---|---|---|
.. | ||
shoulda | ||
shoulda-matchers.rb |