diff options
author | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2017-07-27 00:28:12 +0900 |
---|---|---|
committer | Kazuhiro NISHIYAMA <zn@mbf.nifty.com> | 2017-07-31 21:58:42 +0900 |
commit | 7f89d4e8bf1a8656dee77cc606c53b3a35e4651a (patch) | |
tree | 3a38cc3613d548a73595136dbc68c467b1b413b7 /activesupport | |
parent | 090eaa7e1b42143ffdb42409aa5d429cbeb3e55d (diff) | |
download | rails-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.rb | 2 |
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 |