thoughtbot--shoulda-matchers/lib/shoulda
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
..
matchers Tweak failure message for allow_value 2014-06-27 14:39:01 -06:00
matchers.rb Add a small stubbing library 2014-04-22 09:37:27 -05:00