From 025d6c1beaf683bb46c5e9c7d7f879ea8d62ad1b Mon Sep 17 00:00:00 2001 From: Rachael Booth Date: Tue, 23 Jan 2024 10:45:31 +0000 Subject: [PATCH] Additional wording update in test --- spec/features/form/validations_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/form/validations_spec.rb b/spec/features/form/validations_spec.rb index dc9b435dc..c674ea839 100644 --- a/spec/features/form/validations_spec.rb +++ b/spec/features/form/validations_spec.rb @@ -149,7 +149,7 @@ RSpec.describe "validations" do it "prompts the user to confirm the value is correct with an interruption screen" do expect(page).to have_current_path("/lettings-logs/#{lettings_log.id}/net-income-value-check") expect(page).to have_content("You told us that the household’s income is £750.00 weekly") - expect(page).to have_content("This is higher than we would expect for their working situation.") + expect(page).to have_content("This is higher than we would expect for the household’s working situation.") expect(page).not_to have_button("Save changes") click_button("Confirm and continue") expect(page).to have_current_path("/lettings-logs/#{lettings_log.id}/net-income-uc-proportion")