From 85cde3cde1c7712b2abb3383c1faa023f8392dae Mon Sep 17 00:00:00 2001 From: Sam Bostock Date: Tue, 20 Oct 2020 20:56:08 -0400 Subject: [PATCH] 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. --- activesupport/test/cache/stores/mem_cache_store_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/test/cache/stores/mem_cache_store_test.rb b/activesupport/test/cache/stores/mem_cache_store_test.rb index fe6ca62458e89..ebbed847bca28 100644 --- a/activesupport/test/cache/stores/mem_cache_store_test.rb +++ b/activesupport/test/cache/stores/mem_cache_store_test.rb @@ -202,7 +202,7 @@ def random_string(length) end def store - [:mem_cache_store, ENV["MEMCACHE_SERVERS"] || "localhost:11211"] + [:mem_cache_store] end def emulating_latency