mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-30 10:16:07 +00:00
Integration tests: use 127.0.0.1 instead of localhost
This commit is contained in:
parent
5ff5bf44ba
commit
833e1e937d
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue