You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use real attributes and match attribute name when getting client side
hash.
Since that attribute is only used to fetch a custom message, specs
weren't failing before
Additionally:
- Do not test Rails edge against 3.2, because it now requires >= 3.3
- Do not test Ruby edge against Rails < 8.0
assert_equalexpected_hash,LengthValidator.new(attributes: [:age],minimum: 4,maximum: 10,message: 'is not the correct length',too_long: 'is way too long').client_side_hash(@person,:first_name)
45
+
assert_equalexpected_hash,LengthValidator.new(attributes: [:age],minimum: 4,maximum: 10,message: 'is not the correct length',too_long: 'is way too long').client_side_hash(@person,:age)
0 commit comments