From ab18a2e60c01df78dd42302dc0cee21550934d40 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Thu, 11 Mar 2021 22:03:46 +0000 Subject: [PATCH] [Rails 5] change #process method call args for upgraded rails Copied from spree https://github.com/spree/spree/commit/a5e14e3313adf33f68b50753649037a64014f0af --- spec/support/controller_requests_helper.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/support/controller_requests_helper.rb b/spec/support/controller_requests_helper.rb index fa02ed71d1..4b992f5949 100644 --- a/spec/support/controller_requests_helper.rb +++ b/spec/support/controller_requests_helper.rb @@ -47,9 +47,9 @@ module ControllerRequestsHelper def process_action_with_route(action, params = {}, session = nil, flash = nil, method = "GET") process(action, - method, - params.reverse_merge!(use_route: :main_app), - session, - flash) + method: method, + params: params.reverse_merge!(use_route: :main_app), + session: session, + flash: flash) end end