Skip to content

Commit

Permalink
Update deprecated middleware configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt-Yorkley committed Jan 9, 2021
1 parent bffd451 commit c782c0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c782c0b

Please sign in to comment.