diff --git a/spec/features/schemes_spec.rb b/spec/features/schemes_spec.rb index 542797033..dff650eb7 100644 --- a/spec/features/schemes_spec.rb +++ b/spec/features/schemes_spec.rb @@ -578,7 +578,7 @@ RSpec.describe "Schemes scheme Features" do fill_in_and_save_location location.update!(location_code: nil) visit "/schemes/#{scheme.id}/locations/#{location.id}/check-answers" - expect(page).to have_content "No answer provided" + expect(page).to have_link("Select local authority", href: "/schemes/#{scheme.id}/locations/#{location.id}/local-authority?referrer=check_answers") end end @@ -667,7 +667,7 @@ RSpec.describe "Schemes scheme Features" do choose "Yes" click_button "Save changes" visit("/schemes/#{scheme.id}/check-answers") - expect(page).to have_content("No answer provided") + expect(page).to have_link("Select secondary client group", href: "/schemes/#{scheme.id}/secondary-client-group?referrer=check-answers") end end