diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-11-05 22:25:37 +0000 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-11-06 23:07:51 +0000 |
commit | 3ff2c158372bce45ea46bd3b49c49022a4259aba (patch) | |
tree | 6c8621875084442bd6e6b6f99fa6d5ce9282de29 /activerecord/test/support | |
parent | e617fb57f5a388d5f0a47fd5e576588dd10066b0 (diff) | |
download | rails-3ff2c158372bce45ea46bd3b49c49022a4259aba.tar.gz rails-3ff2c158372bce45ea46bd3b49c49022a4259aba.tar.bz2 rails-3ff2c158372bce45ea46bd3b49c49022a4259aba.zip |
Add cases to test combining validation conditions
- Test condition that is defined by array of conditions
- Test condition that is defined by combining :if and :unless
- Test local condition that is defined by :if
- Test local condition that is defined by :unless
See http://edgeguides.rubyonrails.org/active_record_validations.html#combining-validation-conditions
Diffstat (limited to 'activerecord/test/support')
0 files changed, 0 insertions, 0 deletions