diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2005-10-13 20:02:49 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2005-10-13 20:02:49 +0000 |
commit | e4b3f8b0ebaf66cb21cf7cfcdf62499dcfe9a87a (patch) | |
tree | c2579f746f3064b13c2330e1ec03cabb282efee6 /activesupport | |
parent | 99f3ae08450ecfd7574336837a75c7fd0dd17305 (diff) | |
download | rails-e4b3f8b0ebaf66cb21cf7cfcdf62499dcfe9a87a.tar.gz rails-e4b3f8b0ebaf66cb21cf7cfcdf62499dcfe9a87a.tar.bz2 rails-e4b3f8b0ebaf66cb21cf7cfcdf62499dcfe9a87a.zip |
Fix Logger compatibility test
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2563 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport')
-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 |