From 35cd3656218f800aaf2500c23945cf7fe084d1a7 Mon Sep 17 00:00:00 2001 From: Roque Pinel Date: Wed, 12 Aug 2015 20:49:23 -0400 Subject: 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. --- activerecord/test/cases/attribute_test.rb | 1 - 1 file changed, 1 deletion(-) (limited to 'activerecord/test/cases/attribute_test.rb') 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 -- cgit v1.2.3