Skip to content

Commit

Permalink
Fix Logger compatibility test
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jeremy committed Oct 13, 2005
1 parent 99f3ae0 commit e4b3f8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions activesupport/test/clean_logger_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit e4b3f8b

Please sign in to comment.