Skip to content
Commit de890a5a authored by depfu[bot]'s avatar depfu[bot] Committed by Björn Geuken
Browse files

Update shoulda-matchers to version 4.0.1



We use custom validation error messages for some of our models. With the
new gem release the error message shoulda matchers would expect stopped
matching our custom messages and the tests failed.
To solve this we explicitly set the validation message where needed.

The "optional: false" parameter for the belongs_to association was
superfluous since Rails uses "required" by default and caused some a
shoulda matcher to fail.

Co-authored-by: default avatarBjörn Geuken <bgeuken@suse.de>
parent d2b769b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment