Browse Source

Additional wording update in test

pull/2136/head
Rachael Booth 2 years ago
parent
commit
025d6c1bea
  1. 2
      spec/features/form/validations_spec.rb

2
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")

Loading…
Cancel
Save