From 108e8dda84812f8fb5f2295b3c3ad55c795ab64f Mon Sep 17 00:00:00 2001 From: Kenneth Lee Date: Mon, 22 Jul 2024 16:19:27 +0100 Subject: [PATCH] Typo in error message --- config/locales/en.yml | 2 +- .../hours_teaching_eligible_subjects_form_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 0822104116..aa782b9330 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -1016,7 +1016,7 @@ en: hours_teaching_eligible_subjects: question: Do you spend at least half of your timetabled teaching hours teaching these eligible courses? errors: - inclusion: Select yes if spend at least half of your timetabled teaching hours teaching these eligible courses + inclusion: Select yes if you spend at least half of your timetabled teaching hours teaching these eligible courses check_your_answers: part_one: primary_heading: Check your answers diff --git a/spec/forms/journeys/further_education_payments/hours_teaching_eligible_subjects_form_spec.rb b/spec/forms/journeys/further_education_payments/hours_teaching_eligible_subjects_form_spec.rb index d6cd31b1e3..1a5de36329 100644 --- a/spec/forms/journeys/further_education_payments/hours_teaching_eligible_subjects_form_spec.rb +++ b/spec/forms/journeys/further_education_payments/hours_teaching_eligible_subjects_form_spec.rb @@ -27,7 +27,7 @@ is_expected.not_to( allow_value(nil) .for(:hours_teaching_eligible_subjects) - .with_message("Select yes if spend at least half of your timetabled teaching hours teaching these eligible courses") + .with_message("Select yes if you spend at least half of your timetabled teaching hours teaching these eligible courses") ) end end