aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attribute_test.rb
diff options
context:
space:
mode:
authorRoque Pinel <repinel@gmail.com>2015-08-12 20:49:23 -0400
committerRoque Pinel <repinel@gmail.com>2015-09-22 22:32:56 -0400
commit35cd3656218f800aaf2500c23945cf7fe084d1a7 (patch)
tree39e98c98fd29286651061ad6f6858081a9a0ce4c /activerecord/test/cases/attribute_test.rb
parenteb52c8979b4e8023f8415e5f8a568e8933ecbd38 (diff)
downloadrails-35cd3656218f800aaf2500c23945cf7fe084d1a7.tar.gz
rails-35cd3656218f800aaf2500c23945cf7fe084d1a7.tar.bz2
rails-35cd3656218f800aaf2500c23945cf7fe084d1a7.zip
Fix the AS::Callbacks terminator regression from 4.2.3
Rails 4.2.3 AS::Callbacks will not halt chain if `false` is returned. That is the behavior of specific callbacks like AR::Callbacks and AM::Callbacks.
Diffstat (limited to 'activerecord/test/cases/attribute_test.rb')
-rw-r--r--activerecord/test/cases/attribute_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/attribute_test.rb b/activerecord/test/cases/attribute_test.rb
index 0ec368f51d..c69782d93f 100644
--- a/activerecord/test/cases/attribute_test.rb
+++ b/activerecord/test/cases/attribute_test.rb
@@ -4,7 +4,6 @@ module ActiveRecord
class AttributeTest < ActiveRecord::TestCase
setup do
@type = Minitest::Mock.new
- @type.expect(:==, false, [false])
end
teardown do