Move rack_attack.rb (#18402)
This commit is contained in:
parent
9c0fc6b918
commit
560bff9403
2 changed files with 1 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
require "rails_helper"
|
||||
|
||||
describe Rack::Attack, type: :request, throttle: true do
|
||||
describe Rack, ".attack", type: :request, throttle: true do
|
||||
before do
|
||||
cache_db = ActiveSupport::Cache.lookup_store(:redis_cache_store)
|
||||
allow(Rails).to receive(:cache) { cache_db }
|
||||
Loading…
Add table
Reference in a new issue