Skip to content

Commit

Permalink
Remove redundant arguments in store test helper
Browse files Browse the repository at this point in the history
The store now uses $MEMCACHE_SERVERS and 127.0.0.1:11211 as fallbacks,
so there is no need to specify them them again.
  • Loading branch information
sambostock committed Oct 21, 2020
1 parent e793646 commit 85cde3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activesupport/test/cache/stores/mem_cache_store_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit 85cde3c

Please sign in to comment.