From 7f89d4e8bf1a8656dee77cc606c53b3a35e4651a Mon Sep 17 00:00:00 2001 From: Kazuhiro NISHIYAMA Date: Thu, 27 Jul 2017 00:28:12 +0900 Subject: Use File::NULL instead of "/dev/null" --- activesupport/test/cache/stores/mem_cache_store_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/test/cache') diff --git a/activesupport/test/cache/stores/mem_cache_store_test.rb b/activesupport/test/cache/stores/mem_cache_store_test.rb index becc1f7fbf..1b73fb65eb 100644 --- a/activesupport/test/cache/stores/mem_cache_store_test.rb +++ b/activesupport/test/cache/stores/mem_cache_store_test.rb @@ -24,7 +24,7 @@ class MemCacheStoreTest < ActiveSupport::TestCase @data = @cache.instance_variable_get(:@data) @cache.clear @cache.silence! - @cache.logger = ActiveSupport::Logger.new("/dev/null") + @cache.logger = ActiveSupport::Logger.new(File::NULL) end include CacheStoreBehavior -- cgit v1.2.3