From 3f590e4774772999d66170b6c0991ef070b8893f Mon Sep 17 00:00:00 2001 From: Gonzalo Rodriguez Date: Fri, 22 Jun 2018 14:51:38 -0300 Subject: [PATCH] Acceptance tests already cover integration with RedisCacheStore and MemCacheStore --- spec/integration/rack_attack_cache_spec.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/spec/integration/rack_attack_cache_spec.rb b/spec/integration/rack_attack_cache_spec.rb index 98f5568..6f7b55c 100644 --- a/spec/integration/rack_attack_cache_spec.rb +++ b/spec/integration/rack_attack_cache_spec.rb @@ -16,23 +16,18 @@ describe Rack::Attack::Cache do end require 'active_support/cache/dalli_store' - require 'active_support/cache/mem_cache_store' require 'active_support/cache/redis_store' - require 'active_support/cache/redis_cache_store' if ActiveSupport.version.to_s.to_f >= 5.2 require 'connection_pool' cache_stores = [ ActiveSupport::Cache::MemoryStore.new, ActiveSupport::Cache::DalliStore.new("127.0.0.1"), ActiveSupport::Cache::RedisStore.new("127.0.0.1"), - ActiveSupport::Cache::MemCacheStore.new("127.0.0.1"), Dalli::Client.new, ConnectionPool.new { Dalli::Client.new }, Redis::Store.new ] - cache_stores << ActiveSupport::Cache::RedisCacheStore.new if defined?(ActiveSupport::Cache::RedisCacheStore) - cache_stores.each do |store| store = Rack::Attack::StoreProxy.build(store)