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 | ||
integrations | ||
util | ||
action_controller.rb | ||
active_model.rb | ||
active_record.rb | ||
configuration.rb | ||
doublespeak.rb | ||
error.rb | ||
independent.rb | ||
integrations.rb | ||
matcher_context.rb | ||
rails_shim.rb | ||
routing.rb | ||
util.rb | ||
version.rb | ||
warn.rb |