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