shoulda-matchers
shoulda-matchers copied to clipboard
fix: with_high_message expects a custom validation message too
The only impact being in the generated documentation (via description_clauses_for_qualifiers):
before:
is expected to validate that Y lies inside the range R
after
is expected to validate that X lies inside the range R producing a custom validation error on failure
As with_low_message already does.