Browse Source

Update feature tests

pull/2836/head
Manny Dinssa 1 month ago
parent
commit
6453bee45d
  1. 4
      spec/features/schemes_spec.rb

4
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

Loading…
Cancel
Save