thoughtbot/shoulda-matchers — pull request #137 by jessetoth (2012-07-27 22:38:38+00:00)
Title: Fix ensure_length_of matcher to work for is_equal_to cases when the attribute has other validations on it

After a recent refactor, ensure_length_of started failing in the is_equal_to case for any attribute that has other validations on it.

Now that the upper bound matchers are not being skipped for the is_equal_to case, the expected error message needs to be set for the upper bound.