Integration tests: use 127.0.0.1 instead of localhost

This commit is contained in:
Aaron Suggs 2014-04-25 13:19:22 -05:00
parent 5ff5bf44ba
commit 833e1e937d

View file

@ -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