From 69f4be789d51f4dec7c1822cc4a429914b84bfd2 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire <94526761+natdeanlewissoftwire@users.noreply.github.com> Date: Mon, 3 Apr 2023 09:49:47 +0100 Subject: [PATCH] feat: fix typo (#1504) --- app/models/form/sales/questions/buyer2_ethnic_group.rb | 2 +- spec/models/form/sales/questions/buyer2_ethnic_group_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/form/sales/questions/buyer2_ethnic_group.rb b/app/models/form/sales/questions/buyer2_ethnic_group.rb index dd0ab8866..d115c721d 100644 --- a/app/models/form/sales/questions/buyer2_ethnic_group.rb +++ b/app/models/form/sales/questions/buyer2_ethnic_group.rb @@ -23,6 +23,6 @@ class Form::Sales::Questions::Buyer2EthnicGroup < ::Form::Question "3" => { "value" => "Black, African, Caribbean or Black British" }, "4" => { "value" => "Arab or other ethnic group" }, "divider" => { "value" => true }, - "17" => { "value" => "Buyer 1 prefers not to say" }, + "17" => { "value" => "Buyer 2 prefers not to say" }, }.freeze end diff --git a/spec/models/form/sales/questions/buyer2_ethnic_group_spec.rb b/spec/models/form/sales/questions/buyer2_ethnic_group_spec.rb index 2e9e0c28c..ad61aa326 100644 --- a/spec/models/form/sales/questions/buyer2_ethnic_group_spec.rb +++ b/spec/models/form/sales/questions/buyer2_ethnic_group_spec.rb @@ -39,7 +39,7 @@ RSpec.describe Form::Sales::Questions::Buyer2EthnicGroup, type: :model do expect(question.answer_options).to eq({ "0" => { "value" => "White" }, "1" => { "value" => "Mixed or Multiple ethnic groups" }, - "17" => { "value" => "Buyer 1 prefers not to say" }, + "17" => { "value" => "Buyer 2 prefers not to say" }, "2" => { "value" => "Asian or Asian British" }, "3" => { "value" => "Black, African, Caribbean or Black British" }, "4" => { "value" => "Arab or other ethnic group" },