From e372ce7de1dec960f6e67992dfd4ab8f08b276c4 Mon Sep 17 00:00:00 2001 From: kosiakkatrina <54268893+kosiakkatrina@users.noreply.github.com> Date: Fri, 23 Feb 2024 16:25:52 +0000 Subject: [PATCH] Fix wheelchair question typo (#2259) --- .../form/sales/questions/property_wheelchair_accessible.rb | 4 ++-- .../sales/questions/property_wheelchair_accessible_spec.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/models/form/sales/questions/property_wheelchair_accessible.rb b/app/models/form/sales/questions/property_wheelchair_accessible.rb index 588f350a2..7a7cac0d2 100644 --- a/app/models/form/sales/questions/property_wheelchair_accessible.rb +++ b/app/models/form/sales/questions/property_wheelchair_accessible.rb @@ -2,8 +2,8 @@ class Form::Sales::Questions::PropertyWheelchairAccessible < ::Form::Question def initialize(id, hsh, page) super @id = "wchair" - @check_answer_label = "Property build or adapted to wheelchair-user standards" - @header = "Is the property build or adapted to wheelchair-user standards?" + @check_answer_label = "Property built or adapted to wheelchair-user standards" + @header = "Is the property built or adapted to wheelchair-user standards?" @type = "radio" @answer_options = ANSWER_OPTIONS @question_number = 17 diff --git a/spec/models/form/sales/questions/property_wheelchair_accessible_spec.rb b/spec/models/form/sales/questions/property_wheelchair_accessible_spec.rb index bea482aca..9fd7be4a6 100644 --- a/spec/models/form/sales/questions/property_wheelchair_accessible_spec.rb +++ b/spec/models/form/sales/questions/property_wheelchair_accessible_spec.rb @@ -22,11 +22,11 @@ RSpec.describe Form::Sales::Questions::PropertyWheelchairAccessible, type: :mode end it "has the correct header" do - expect(question.header).to eq("Is the property build or adapted to wheelchair-user standards?") + expect(question.header).to eq("Is the property built or adapted to wheelchair-user standards?") end it "has the correct check_answer_label" do - expect(question.check_answer_label).to eq("Property build or adapted to wheelchair-user standards") + expect(question.check_answer_label).to eq("Property built or adapted to wheelchair-user standards") end it "has the correct type" do