aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikac.hu>2013-02-22 17:29:08 -0500
committerPrem Sichanugrist <s@sikac.hu>2013-02-24 16:32:25 -0500
commit8598633cc1d5ea402f8b49b1f71cd92180cc1138 (patch)
tree9c61d9e6ecc25d178ab6e360fc2e5e4617b08f90 /activesupport
parent5693d444686d84d403de5af5d3e23ffe8147001d (diff)
downloadrails-8598633cc1d5ea402f8b49b1f71cd92180cc1138.tar.gz
rails-8598633cc1d5ea402f8b49b1f71cd92180cc1138.tar.bz2
rails-8598633cc1d5ea402f8b49b1f71cd92180cc1138.zip
Do not redirect cache logger to /dev/null in test
For some reason, redirecting cache's logger to '/dev/null' resulting in a test failures and LoadError. I think it's because of Thread issue. Instead of trying to make every logger threadsafe for Rails 3.2, I think it's better to just don't set the logger for now. (Note: resetting the logger back to original value in the teardown block didn't fix the problem.)
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/caching_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/activesupport/test/caching_test.rb b/activesupport/test/caching_test.rb
index c4c753caed..6db1746672 100644
--- a/activesupport/test/caching_test.rb
+++ b/activesupport/test/caching_test.rb
@@ -690,7 +690,6 @@ uses_memcached 'memcached backed store' do
@data = @cache.instance_variable_get(:@data)
@cache.clear
@cache.silence!
- @cache.logger = Logger.new("/dev/null")
end
include CacheStoreBehavior