thoughtbot--shoulda-matchers/lib/shoulda/matchers/active_model
Elliot Winkler 9e8603eb74 allow_value: Fix compatibility with enum columns
When used against an attribute that's an enum, `allow_value` will raise
an AttributeValueChangedError. This commit prevents that from happening.
2016-01-05 00:58:16 -07:00
..
allow_value_matcher allow_value: Fix compatibility with enum columns 2016-01-05 00:58:16 -07:00
numericality_matchers Small refactoring in NumericTypeMatcher 2015-12-31 02:51:42 -05:00
validation_matcher Refactor ValidationMatcher 2015-12-13 20:22:21 -07:00
allow_mass_assignment_of_matcher.rb Refer to Minitest in docs over Test::Unit 2015-09-30 13:18:23 -06:00
allow_value_matcher.rb allow_value: Inspect values more clearly 2015-12-30 21:51:54 -05:00
disallow_value_matcher.rb Small refactoring in NumericTypeMatcher 2015-12-31 02:51:42 -05:00
errors.rb Extract examples in README to inline documentation 2014-06-20 16:41:27 -06:00
have_secure_password_matcher.rb Refer to Minitest in docs over Test::Unit 2015-09-30 13:18:23 -06:00
helpers.rb Refactor allow_value & disallow_value 2015-12-13 20:22:22 -07:00
numericality_matchers.rb Extract examples in README to inline documentation 2014-06-20 16:41:27 -06:00
validate_absence_of_matcher.rb Refactor absence matcher 2015-12-13 20:22:22 -07:00
validate_acceptance_of_matcher.rb acceptance: Reword description for accuracy 2015-12-30 22:05:11 -05:00
validate_confirmation_of_matcher.rb confirmation: Refactor to use AttributeSetter 2015-12-30 21:37:14 -05:00
validate_exclusion_of_matcher.rb allow_value: Inspect values more clearly 2015-12-30 21:51:54 -05:00
validate_inclusion_of_matcher.rb allow_value: Inspect values more clearly 2015-12-30 21:51:54 -05:00
validate_length_of_matcher.rb Refactor length matcher 2015-12-13 20:22:23 -07:00
validate_numericality_of_matcher.rb Small refactor in numericality matcher 2015-12-31 02:50:50 -05:00
validate_presence_of_matcher.rb allow_value: pre-set attributes before validation 2015-12-30 21:34:02 -05:00
validation_matcher.rb Refactor ValidationMatcher 2015-12-13 20:22:21 -07:00
validation_message_finder.rb Remove Rails 3.x, Ruby 1.9.2, Ruby 1.9.3 2015-02-09 10:52:22 -07:00
validator.rb allow_value: pre-set attributes before validation 2015-12-30 21:34:02 -05:00