rails/activemodel/test/cases
claudiob 91b8129320 Deprecate false as the way to halt AM callbacks
Before this commit, returning `false` in an ActiveModel `before_` callback
such as `before_create` would halt the callback chain.

After this commit, the behavior is deprecated: will still work until
the next release of Rails but will also display a deprecation warning.

The preferred way to halt a callback chain is to explicitly `throw(:abort)`.
2015-01-02 15:31:56 -08:00
..
serializers Move model definition to test/models for test order indenendency 2014-08-28 16:56:53 +09:00
validations Deprecate false as the way to halt AM validation callbacks 2015-01-02 15:31:56 -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 Deprecate false as the way to halt AM callbacks 2015-01-02 15:31:56 -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 - Fixed unused variable 2014-12-21 13:28:20 +05:30