1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activemodel/test/cases/validations
claudiob 9a6f20e8f0 Add AM test for after_validation returning false
This stems from https://github.com/rails/rails/pull/17227#discussion_r21641358

It's simply a clarification of the current behavior by which if an
`after_validation` ActiveModel callback returns +false+, then further
`after_` callbacks **are not halted**.
2014-12-14 21:18:31 -08:00
..
absence_validation_test.rb Correct typo, add test for validates_absence_of, correct method names 2014-06-16 08:22:11 +05:30
acceptance_validation_test.rb use the new clear_validators! api everywhere to reset validators in tests 2014-01-28 00:13:35 +05:30
callbacks_test.rb Add AM test for after_validation returning false 2014-12-14 21:18:31 -08:00
conditional_validation_test.rb Use the new clear_validators! api to reset validators in tests 2014-01-27 08:26:54 -02:00
confirmation_validation_test.rb Completely remove potential global state leaks in ActiveModel tests. 2014-03-11 00:48:25 +08:00
exclusion_validation_test.rb Use the new clear_validators! api to reset validators in tests 2014-01-27 08:26:54 -02:00
format_validation_test.rb Use the new clear_validators! api to reset validators in tests 2014-01-27 08:26:54 -02:00
i18n_generate_message_validation_test.rb Add singular and plural form for some validation messages 2014-05-02 18:32:11 +02:00
i18n_validation_test.rb Run ActiveModel test suites in random order. 2014-03-10 03:52:51 +08:00
inclusion_validation_test.rb Use the new clear_validators! api to reset validators in tests 2014-01-27 08:26:54 -02:00
length_validation_test.rb Use the new clear_validators! api to reset validators in tests 2014-01-27 08:26:54 -02:00
numericality_validation_test.rb Pass symbol as an argument instead of a block 2014-11-29 11:53:24 +01:00
presence_validation_test.rb Use the new clear_validators! api to reset validators in tests 2014-01-27 08:26:54 -02:00
validates_test.rb Remove redundant require of file 2014-11-01 19:00:12 +00:00
validations_context_test.rb Use the new clear_validators! api to reset validators in tests 2014-01-27 08:26:54 -02:00
with_validation_test.rb Use the new clear_validators! api to reset validators in tests 2014-01-27 08:26:54 -02:00