mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
18b2859d25
Fix the matcher so it still raises a CouldNotSetAttributeError against a numeric column, but only if the matcher has not been qualified at all. When the matcher is qualified with anything else, then it's okay to use a numeric column, as long as the matcher no longer asserts that the record disallows a non-numeric value. |
||
---|---|---|
.. | ||
shoulda | ||
shoulda-matchers.rb |