From d602281a6a8849b0e9284015c70e72967c01e52d Mon Sep 17 00:00:00 2001 From: angusmcleod Date: Mon, 12 Jul 2021 16:39:37 +0800 Subject: [PATCH] Fix failing test --- spec/requests/custom_wizard/application_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/requests/custom_wizard/application_controller_spec.rb b/spec/requests/custom_wizard/application_controller_spec.rb index 9f5a1a60..0835f246 100644 --- a/spec/requests/custom_wizard/application_controller_spec.rb +++ b/spec/requests/custom_wizard/application_controller_spec.rb @@ -40,7 +40,7 @@ describe ApplicationController do get '/', headers: { 'REFERER' => "/t/2" } expect( CustomWizard::Wizard.create(@template['id'], user).submissions - .first.fields['redirect_to'] + .first.redirect_to ).to eq("/t/2") end