mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
5ed0362419
Prior to this commit, the numericality matcher raised an IneffectiveTestError if used against a numeric column (unless other qualifiers were added). I had a misunderstanding of how the numericality validation works -- it turns out it doesn't work against the output of the attribute in question, it works against the input. So raising this exception is pointless and doesn't actually protect against anything. |
||
---|---|---|
.. | ||
action_controller | ||
active_model | ||
active_record | ||
doublespeak | ||
independent | ||
routing | ||
util | ||
doublespeak_spec.rb |