From f3fc3a1ba93f7dcddebbfc0540aae7f5bb62c30a Mon Sep 17 00:00:00 2001 From: Jonathan Hooper Date: Tue, 15 Aug 2017 14:27:30 -0500 Subject: [PATCH] Fix leftover deprecation warnings in spec **Why**: @monfresh fixed deprecations in the controller specs in #1607, but #1605 included changes and was not merged at the time, so those deprecation warnings found their way onto master. This commit fixes those warnings. --- .../verify/otp_delivery_method_controller_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/controllers/verify/otp_delivery_method_controller_spec.rb b/spec/controllers/verify/otp_delivery_method_controller_spec.rb index c5b6e88f695..1096eb83cd5 100644 --- a/spec/controllers/verify/otp_delivery_method_controller_spec.rb +++ b/spec/controllers/verify/otp_delivery_method_controller_spec.rb @@ -68,7 +68,7 @@ end it 'redirects to the review controller' do - post :create, params + post :create, params: params expect(response).to redirect_to verify_review_path end end @@ -79,7 +79,7 @@ end it 'redirects to the review controller' do - post :create, params + post :create, params: params expect(response).to redirect_to verify_review_path end end @@ -90,14 +90,14 @@ end it 'redirects to the review controller' do - post :create, params + post :create, params: params expect(response).to redirect_to verify_review_path end end context 'user has selected sms' do it 'redirects to the otp send path for sms' do - post :create, params + post :create, params: params expect(response).to redirect_to otp_send_path(params) end end @@ -112,7 +112,7 @@ end it 'redirects to the otp send path for voice' do - post :create, params + post :create, params: params expect(response).to redirect_to otp_send_path(params) end end @@ -127,7 +127,7 @@ end it 'renders the new template' do - post :create, params + post :create, params: params expect(response).to render_template :new end end