thoughtbot--shoulda-matchers/lib
Elliot Winkler 2a7389ef69 Tweak failure message for allow_value
allow_value currently gives an error message that looks like this:

    Expected errors to include "must be greater than 0" when amount is set to 0, got errors: ["amount must be greater than 0.0 (0)"]

This is confusing because the error message here is "must be greater than 0.0",
not "amount must be greater than 0.0".

With this commit the message changes to:

    Expected errors to include "must be greater than 0" when amount is set to 0, got errors: ["must be greater than 0.0 (attribute: "amount", value: 0)"]
2014-06-27 14:39:01 -06:00
..
shoulda Tweak failure message for allow_value 2014-06-27 14:39:01 -06:00
shoulda-matchers.rb Switched to allowing a more canonical require statement 2011-01-31 16:45:13 -05:00