diff options
Diffstat (limited to 'activesupport/test/cache/stores/mem_cache_store_test.rb')
-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 3917d14d1c..0a5e20ed46 100644 --- a/activesupport/test/cache/stores/mem_cache_store_test.rb +++ b/activesupport/test/cache/stores/mem_cache_store_test.rb @@ -9,7 +9,7 @@ require "dalli" # connection pool testing. class SlowDalliClient < Dalli::Client def get(key, options = {}) - if key =~ /latency/ + if /latency/.match?(key) sleep 3 else super |