diff --git a/spec/integration/rack_attack_cache_spec.rb b/spec/integration/rack_attack_cache_spec.rb index faa1eef..461162c 100644 --- a/spec/integration/rack_attack_cache_spec.rb +++ b/spec/integration/rack_attack_cache_spec.rb @@ -18,8 +18,8 @@ describe Rack::Attack::Cache do require 'connection_pool' cache_stores = [ ActiveSupport::Cache::MemoryStore.new, - ActiveSupport::Cache::DalliStore.new("localhost"), - ActiveSupport::Cache::RedisStore.new("localhost"), + ActiveSupport::Cache::DalliStore.new("127.0.0.1"), + ActiveSupport::Cache::RedisStore.new("127.0.0.1"), Dalli::Client.new, ConnectionPool.new { Dalli::Client.new }, Redis::Store.new