diff options
author | Matthew Draper <matthew@trebex.net> | 2017-08-02 21:59:42 +0930 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 21:59:42 +0930 |
commit | 869cb93de12141425b73f43e93f6e3730147b0ed (patch) | |
tree | 3df573074150a25e08af189b5091b3e20e10aa5f /activesupport/test | |
parent | 686261f0df560cd720231365499ac116f2024a32 (diff) | |
parent | 7f89d4e8bf1a8656dee77cc606c53b3a35e4651a (diff) | |
download | rails-869cb93de12141425b73f43e93f6e3730147b0ed.tar.gz rails-869cb93de12141425b73f43e93f6e3730147b0ed.tar.bz2 rails-869cb93de12141425b73f43e93f6e3730147b0ed.zip |
Merge pull request #29958 from znz/file-null
Use File::NULL instead of "/dev/null"
Diffstat (limited to 'activesupport/test')
-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 |