Browse Source

More typos

pull/1441/head
Kat 3 years ago
parent
commit
cc1b48d4e4
  1. 2
      app/models/form/sales/questions/person_student_not_child_value_check.rb
  2. 4
      spec/models/form/sales/questions/person_student_not_child_value_check_spec.rb

2
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:) def initialize(id, hsh, page, person_index:)
super(id, hsh, page) super(id, hsh, page)
@id = "student_not_child_value_check" @id = "student_not_child_value_check"
@check_answer_label = "Student not child confirmation" @check_answer_label = "Student not a child confirmation"
@type = "interruption_screen" @type = "interruption_screen"
@answer_options = { @answer_options = {
"0" => { "value" => "Yes" }, "0" => { "value" => "Yes" },

4
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 end
it "has the correct header" do 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 end
it "has the correct check_answer_label" do 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 end
it "has the correct type" do it "has the correct type" do

Loading…
Cancel
Save