mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-03-25 09:25:49 +00:00
Fix namespace of test file names
This commit is contained in:
parent
831e4e9e97
commit
1f05ff30d5
3 changed files with 3 additions and 3 deletions
|
|
@ -3,7 +3,7 @@ require_relative "../../support/cache_store_helper"
|
|||
|
||||
require "timecop"
|
||||
|
||||
describe "MemCacheStore as a cache backend" do
|
||||
describe "ActiveSupport::Cache::MemCacheStore as a cache backend" do
|
||||
before do
|
||||
Rack::Attack.cache.store = ActiveSupport::Cache::MemCacheStore.new
|
||||
end
|
||||
|
|
@ -4,7 +4,7 @@ require_relative "../../support/cache_store_helper"
|
|||
require "timecop"
|
||||
|
||||
if ActiveSupport.version >= Gem::Version.new("5.2.0")
|
||||
describe "RedisCacheStore (pooled) as a cache backend" do
|
||||
describe "ActiveSupport::Cache::RedisCacheStore (pooled) as a cache backend" do
|
||||
before do
|
||||
Rack::Attack.cache.store = ActiveSupport::Cache::RedisCacheStore.new(pool_size: 2)
|
||||
end
|
||||
|
|
@ -4,7 +4,7 @@ require_relative "../../support/cache_store_helper"
|
|||
require "timecop"
|
||||
|
||||
if ActiveSupport.version >= Gem::Version.new("5.2.0")
|
||||
describe "RedisCacheStore as a cache backend" do
|
||||
describe "ActiveSupport::Cache::RedisCacheStore as a cache backend" do
|
||||
before do
|
||||
Rack::Attack.cache.store = ActiveSupport::Cache::RedisCacheStore.new
|
||||
end
|
||||
Loading…
Reference in a new issue