Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix Logger compatibility test

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit e4b3f8b0ebaf66cb21cf7cfcdf62499dcfe9a87a 1 parent 99f3ae0
@jeremy jeremy authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  activesupport/test/clean_logger_test.rb
View
1  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
Please sign in to comment.
Something went wrong with that request. Please try again.