From cc1b48d4e4514d5f5090a49d997f8758d4236482 Mon Sep 17 00:00:00 2001 From: Kat Date: Mon, 20 Mar 2023 13:11:54 +0000 Subject: [PATCH] More typos --- .../sales/questions/person_student_not_child_value_check.rb | 2 +- .../questions/person_student_not_child_value_check_spec.rb | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/models/form/sales/questions/person_student_not_child_value_check.rb b/app/models/form/sales/questions/person_student_not_child_value_check.rb index e5983711e..fba35d05b 100644 --- a/app/models/form/sales/questions/person_student_not_child_value_check.rb +++ b/app/models/form/sales/questions/person_student_not_child_value_check.rb @@ -2,7 +2,7 @@ class Form::Sales::Questions::PersonStudentNotChildValueCheck < ::Form::Question def initialize(id, hsh, page, person_index:) super(id, hsh, page) @id = "student_not_child_value_check" - @check_answer_label = "Student not child confirmation" + @check_answer_label = "Student not a child confirmation" @type = "interruption_screen" @answer_options = { "0" => { "value" => "Yes" }, diff --git a/spec/models/form/sales/questions/person_student_not_child_value_check_spec.rb b/spec/models/form/sales/questions/person_student_not_child_value_check_spec.rb index 2b33a91ed..f36e7ad57 100644 --- a/spec/models/form/sales/questions/person_student_not_child_value_check_spec.rb +++ b/spec/models/form/sales/questions/person_student_not_child_value_check_spec.rb @@ -16,11 +16,11 @@ RSpec.describe Form::Sales::Questions::PersonStudentNotChildValueCheck, type: :m end it "has the correct header" do - expect(question.header).to eq("Are you sure this person is not child?") + expect(question.header).to eq("Are you sure this person is not a child?") end it "has the correct check_answer_label" do - expect(question.check_answer_label).to eq("Student not child confirmation") + expect(question.check_answer_label).to eq("Student not a child confirmation") end it "has the correct type" do