From 833e1e937ddc01abb679877da067a3a0be8b70c9 Mon Sep 17 00:00:00 2001 From: Aaron Suggs Date: Fri, 25 Apr 2014 13:19:22 -0500 Subject: [PATCH] Integration tests: use 127.0.0.1 instead of localhost --- spec/integration/rack_attack_cache_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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