From 0ad9e2ac4bca6aabaf11697765264f734e6f5aa4 Mon Sep 17 00:00:00 2001 From: Katherine Martin <78093815+martikat@users.noreply.github.com> Date: Tue, 9 Jul 2024 10:51:18 +0100 Subject: [PATCH] ER-807 Minor text fix (#1257) * Remove role hint text * Update spec --- app/views/registration/role_types/edit.html.slim | 2 +- config/locales/en.yml | 1 - spec/lib/seed_snippets_spec.rb | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/registration/role_types/edit.html.slim b/app/views/registration/role_types/edit.html.slim index 37d2ed000..1f30a2cbf 100644 --- a/app/views/registration/role_types/edit.html.slim +++ b/app/views/registration/role_types/edit.html.slim @@ -12,7 +12,7 @@ = f.govuk_fieldset legend: { text: t('register_role.heading') }, aria: { required: true } do .data-hj-suppress - = f.govuk_collection_radio_buttons :role_type, form.role_types, :name, :name, legend: { text: t('register_role.label'), class: 'govuk-visually-hidden' }, hint: { text: t('register_role.body') }, form_group: { classes: %w[data-hj-suppress] } + = f.govuk_collection_radio_buttons :role_type, form.role_types, :name, :name, legend: { text: t('register_role.label'), class: 'govuk-visually-hidden' }, form_group: { classes: %w[data-hj-suppress] } p.govuk_body = govuk_link_to t('register_role.other_link'), edit_registration_role_type_other_path diff --git a/config/locales/en.yml b/config/locales/en.yml index 87ee93cd1..f6e87eb96 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -438,7 +438,6 @@ en: register_role: heading: Which of the following best describes your role? label: Role type - body: Your role other_link: I would describe my role in another way. # /registration/role-type-other/edit diff --git a/spec/lib/seed_snippets_spec.rb b/spec/lib/seed_snippets_spec.rb index ca363d61a..e410b3529 100644 --- a/spec/lib/seed_snippets_spec.rb +++ b/spec/lib/seed_snippets_spec.rb @@ -5,7 +5,7 @@ subject(:locales) { described_class.new.call } it 'converts all translations' do - expect(locales.count).to be 202 + expect(locales.count).to be 201 end it 'dot separated key -> Page::Resource#name' do