At the moment shoulda only checks for the i18n default error messages.
However, Rails provides several translation paths to specify an error message for an attribute (http://edgeguides.rubyonrails.org/i18n.html#error-message-scopes). These paths should be considered by shoulda as well.
I fixed it: clemenshelm/shoulda-matchers@662b674
I reopen this issue since the fix hasn’t been pulled by now.
Hi, can you create a a pull request on shoulda-matchers for this? Thanks!