From 2c98906e9e1a750e10b88f9392bbd83095833350 Mon Sep 17 00:00:00 2001 From: Thomas Leese Date: Thu, 15 Feb 2024 09:10:59 +0100 Subject: [PATCH] Fix eligible region content flaky test The test relies on the application form not skipping work history so we should make that explicit in the test. --- spec/views/shared/eligible_region_content_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/views/shared/eligible_region_content_spec.rb b/spec/views/shared/eligible_region_content_spec.rb index 93cc655557..342827ad57 100644 --- a/spec/views/shared/eligible_region_content_spec.rb +++ b/spec/views/shared/eligible_region_content_spec.rb @@ -47,8 +47,9 @@ let(:region) do create( :region, - status_check: :online, + application_form_skip_work_history: false, sanction_check: :written, + status_check: :online, teaching_authority_address: "address", teaching_authority_certificate: "certificate", )