aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorKazuhiro NISHIYAMA <zn@mbf.nifty.com>2017-07-27 00:28:12 +0900
committerKazuhiro NISHIYAMA <zn@mbf.nifty.com>2017-07-31 21:58:42 +0900
commit7f89d4e8bf1a8656dee77cc606c53b3a35e4651a (patch)
tree3a38cc3613d548a73595136dbc68c467b1b413b7 /activesupport
parent090eaa7e1b42143ffdb42409aa5d429cbeb3e55d (diff)
downloadrails-7f89d4e8bf1a8656dee77cc606c53b3a35e4651a.tar.gz
rails-7f89d4e8bf1a8656dee77cc606c53b3a35e4651a.tar.bz2
rails-7f89d4e8bf1a8656dee77cc606c53b3a35e4651a.zip
Use File::NULL instead of "/dev/null"
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/test/cache/stores/mem_cache_store_test.rb2
1 files changed, 1 insertions, 1 deletions
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