1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove redundant arguments in store test helper

The store now uses $MEMCACHE_SERVERS and 127.0.0.1:11211 as fallbacks,
so there is no need to specify them them again.
This commit is contained in:
Sam Bostock 2020-10-20 20:56:08 -04:00
parent e79364610c
commit 85cde3cde1
No known key found for this signature in database
GPG key ID: 96D854C4833F2660

View file

@ -202,7 +202,7 @@ class MemCacheStoreTest < ActiveSupport::TestCase
end
def store
[:mem_cache_store, ENV["MEMCACHE_SERVERS"] || "localhost:11211"]
[:mem_cache_store]
end
def emulating_latency