Move rack_attack.rb (#18402)

This commit is contained in:
Mac Siri 2022-08-31 14:28:26 -04:00 committed by GitHub
parent 9c0fc6b918
commit 560bff9403
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 1 deletions

View file

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