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
claudiob b7bd7ffa63 Add AM test: after/around callback 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_` or `around_` ActiveModel callback returns +false+, then the callback
chain **is not halted**.

The callback chain in ActiveModel is only halted when a `before_`
callback returns `false`.
2014-12-14 21:20:49 -08:00
..
serializers Move model definition to test/models for test order indenendency 2014-08-28 16:56:53 +09:00
validations Add AM test for after_validation returning false 2014-12-14 21:18:31 -08:00
attribute_methods_test.rb Completely remove potential global state leaks in ActiveModel tests. 2014-03-11 00:48:25 +08:00
callbacks_test.rb Add AM test: after/around callback returning false 2014-12-14 21:20:49 -08:00
conversion_test.rb [ci skip] add tests for ActionModel::Conversion 2014-06-11 23:18:47 +05:30
dirty_test.rb Make restore_attributes public 2014-07-17 14:55:28 -03:00
errors_test.rb Add #key? to ActiveModel::Errors 2014-10-14 09:53:26 +01:00
forbidden_attributes_protection_test.rb Don't use assert_nothing_raised when assert_equal is used 2012-09-16 23:58:21 -05:00
helper.rb Default to sorting user's test cases for now 2014-09-08 05:32:16 -07:00
lint_test.rb Trim down Active Model API by removing valid? and errors.full_messages 2012-02-07 23:10:43 +01:00
model_test.rb ActiveModel::Model inclusion chain backward compatibility 2013-06-20 12:16:17 +10:00
naming_test.rb Delegate #model_name method to self.class 2014-06-22 19:14:25 -07:00
railtie_test.rb fix tests 2013-07-30 20:03:57 +03:00
secure_password_test.rb Allow password to contain spaces only. 2014-08-06 22:11:06 +03:00
serialization_test.rb Convert ActiveModel to 1.9 hash syntax. 2013-05-01 18:01:46 -07:00
translation_test.rb Run ActiveModel test suites in random order. 2014-03-10 03:52:51 +08:00
validations_test.rb Pass through the prepend option to AS::Callback 2014-12-12 14:51:02 -08:00