diff options
Diffstat (limited to 'activesupport/test/clean_logger_test.rb')
-rw-r--r-- | activesupport/test/clean_logger_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/test/clean_logger_test.rb b/activesupport/test/clean_logger_test.rb index 0416b4a49e..c5ddc713c2 100644 --- a/activesupport/test/clean_logger_test.rb +++ b/activesupport/test/clean_logger_test.rb @@ -40,6 +40,7 @@ class CleanLogger_182_to_183_Test < Test::Unit::TestCase def setup if Logger.method_defined?(:formatter=) Logger.send(:alias_method, :hide_formatter=, :formatter=) + Logger.send(:undef_method, :formatter=) else Logger.send(:define_method, :formatter=) { } end |