mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
6b3253147a
Modify descriptions and failure messages for all matchers by way of allow_value and put small angle brackets around inspected values. This is to visually distinguish an inspected value from the rest of the text, and is especially noticeable for complex values such as an array that contains an object, particularly if the inspected version of the value wraps onto another line. It's a little easier to see: When attempting to set :attr on Example to ‹[#<Child id: nil>]›... rather than: When attempting to set :attr on Example to [#<Child id: nil>]... |
||
---|---|---|
.. | ||
shoulda/matchers |