thoughtbot--shoulda-matchers/lib/shoulda/matchers/active_model
Ivan Valdes (@ivanvc) d4b1fc2fa1 Fixes uniqueness matcher for enum columns
In Rails 4.1, if the scope from a validates_uniqueness_of matcher is an
enum, next_value won't get the correct value, then tests will fail even
that validation works. This adds a way to check if the scoped attribute
is an enum, and correctly get the next value.
2014-04-24 15:45:29 -05:00
..
numericality_matchers Fix thoughtbot/shoulda-matchers#483 by using a less precise `diff_to_compare` value for large numbers in `ComparisonMatcher`. 2014-04-15 17:16:01 -04:00
allow_mass_assignment_of_matcher.rb Update deprecated matcher protocol for RSpec 3. 2013-12-24 22:34:26 +11:00
allow_value_matcher.rb Raise CouldNotSetPasswordError more safely 2014-04-16 12:17:58 -06:00
disallow_value_matcher.rb Raise CouldNotSetPasswordError more safely 2014-04-16 12:17:58 -06:00
ensure_exclusion_of_matcher.rb Fixes max value detection in inclusion and exclusion validators 2013-04-26 11:25:13 -04:00
ensure_inclusion_of_matcher.rb Fix NonNullableBooleanError so it contains attribute name 2014-04-22 10:13:46 -05:00
ensure_length_of_matcher.rb Convert to 1.9 hash syntax 2014-01-17 13:20:44 -07:00
errors.rb Fix NonNullableBooleanError so it contains attribute name 2014-04-22 10:13:46 -05:00
exception_message_finder.rb Add support for validation contexts. 2013-04-26 13:40:06 -04:00
have_secure_password_matcher.rb Update deprecated matcher protocol for RSpec 3. 2013-12-24 22:34:26 +11:00
helpers.rb Use __send__ instead of send 2014-02-01 13:09:44 -08:00
validate_absence_of_matcher.rb Add validates_absence_of matcher 2013-12-23 19:21:22 -07:00
validate_acceptance_of_matcher.rb Fix validate_acceptance_of docs resolves #321 2013-08-10 16:38:16 -06:00
validate_confirmation_of_matcher.rb Use __send__ instead of send 2014-02-01 13:09:44 -08:00
validate_numericality_of_matcher.rb Update docs for validate_numericality_of matcher 2014-04-04 11:26:54 -06:00
validate_presence_of_matcher.rb Raise CouldNotSetPasswordError more safely 2014-04-16 12:17:58 -06:00
validate_uniqueness_of_matcher.rb Fixes uniqueness matcher for enum columns 2014-04-24 15:45:29 -05:00
validation_matcher.rb Update deprecated matcher protocol for RSpec 3. 2013-12-24 22:34:26 +11:00
validation_message_finder.rb Fix regression with context-dependent validations in ActiveResource 2013-09-11 14:26:40 -06:00