From f0766492ca5398eded31ad37bfdb98c08a14100c Mon Sep 17 00:00:00 2001 From: JG Date: Thu, 30 Jun 2022 09:01:10 +0100 Subject: [PATCH] testing being direct to add locations page after submitting support questions --- spec/requests/schemes_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/requests/schemes_controller_spec.rb b/spec/requests/schemes_controller_spec.rb index 4dc88fdcb..aa17f941e 100644 --- a/spec/requests/schemes_controller_spec.rb +++ b/spec/requests/schemes_controller_spec.rb @@ -750,10 +750,10 @@ RSpec.describe SchemesController, type: :request do context "when updating support" do let(:params) { { scheme: { intended_stay: "Medium stay", support_type: "Resettlement support", page: "support" } } } - it "renders confirm secondary group after successful update" do + it "renders add location to this scheme successful update" do follow_redirect! expect(response).to have_http_status(:ok) - expect(page).to have_content("Check your changes before updating this scheme") + expect(page).to have_content("Add a location to this scheme") end it "updates a scheme with valid params" do