From f796d9b300efe360c07080444d3bf3a817a9803a Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 5 Jan 2023 13:43:18 +0000 Subject: [PATCH] feat: copy tweak --- app/models/form/sales/questions/living_before_purchase.rb | 2 +- spec/models/form/sales/questions/living_before_purchase_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/form/sales/questions/living_before_purchase.rb b/app/models/form/sales/questions/living_before_purchase.rb index fbcc9a92e..0486fa4d7 100644 --- a/app/models/form/sales/questions/living_before_purchase.rb +++ b/app/models/form/sales/questions/living_before_purchase.rb @@ -2,7 +2,7 @@ class Form::Sales::Questions::LivingBeforePurchase < ::Form::Question def initialize(id, hsh, page) super @id = "proplen" - @check_answer_label = "Number of years buyers living in the property before purchase" + @check_answer_label = "Number of years living in the property before purchase" @header = "How long did the buyer(s) live in the property before purchase?" @hint_text = "You should round this up to the nearest year. If the buyers haven't been living in the property, enter '0'" @type = "numeric" diff --git a/spec/models/form/sales/questions/living_before_purchase_spec.rb b/spec/models/form/sales/questions/living_before_purchase_spec.rb index 2acbe832e..29f785c06 100644 --- a/spec/models/form/sales/questions/living_before_purchase_spec.rb +++ b/spec/models/form/sales/questions/living_before_purchase_spec.rb @@ -20,7 +20,7 @@ RSpec.describe Form::Sales::Questions::LivingBeforePurchase, type: :model do end it "has the correct check_answer_label" do - expect(question.check_answer_label).to eq("Number of years buyers living in the property before purchase") + expect(question.check_answer_label).to eq("Number of years living in the property before purchase") end it "has the correct type" do