From c782c0be6b048abf5ec721cc36459fe0c9cef34b Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Sat, 9 Jan 2021 21:23:27 +0000 Subject: [PATCH] Update deprecated middleware configurations --- config/environments/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/test.rb b/config/environments/test.rb index f84b7f5f7f29..8f06eb4d4782 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -50,7 +50,7 @@ # To block requests before running the database cleaner require 'open_food_network/rack_request_blocker' # Make sure the middleware is inserted first in middleware chain - config.middleware.insert_before('ActionDispatch::Static', 'RackRequestBlocker') + config.middleware.insert_before(ActionDispatch::Static, RackRequestBlocker) config.active_job.queue_adapter = :test end