Browse Source

feat: copy tweak

pull/1106/head
natdeanlewissoftwire 3 years ago
parent
commit
f796d9b300
  1. 2
      app/models/form/sales/questions/living_before_purchase.rb
  2. 2
      spec/models/form/sales/questions/living_before_purchase_spec.rb

2
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) def initialize(id, hsh, page)
super super
@id = "proplen" @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?" @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'" @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" @type = "numeric"

2
spec/models/form/sales/questions/living_before_purchase_spec.rb

@ -20,7 +20,7 @@ RSpec.describe Form::Sales::Questions::LivingBeforePurchase, type: :model do
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("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 end
it "has the correct type" do it "has the correct type" do

Loading…
Cancel
Save