From 798dc5a92537ba4202a1a8e127a5ebdae87bc78d Mon Sep 17 00:00:00 2001 From: Aaron Ang Date: Mon, 14 Mar 2016 23:47:03 +0100 Subject: Remove log-related stuff from ActiveSupport::Dependencies In this patch, all log-related stuff in `ActiveSupport::Dependencies` is removed because the logging is no longer useful. --- activerecord/test/cases/inheritance_test.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'activerecord/test') diff --git a/activerecord/test/cases/inheritance_test.rb b/activerecord/test/cases/inheritance_test.rb index 7da6842047..e234b9a6a9 100644 --- a/activerecord/test/cases/inheritance_test.rb +++ b/activerecord/test/cases/inheritance_test.rb @@ -441,12 +441,7 @@ class InheritanceComputeTypeTest < ActiveRecord::TestCase include InheritanceTestHelper fixtures :companies - def setup - ActiveSupport::Dependencies.log_activity = true - end - teardown do - ActiveSupport::Dependencies.log_activity = false self.class.const_remove :FirmOnTheFly rescue nil Firm.const_remove :FirmOnTheFly rescue nil end -- cgit v1.2.3