Browse Source

Update number of others in the property header

pull/1234/head
Kat 4 years ago
parent
commit
d276e3c478
  1. 2
      app/models/form/sales/questions/number_of_others_in_property.rb
  2. 2
      spec/models/form/sales/questions/number_of_others_in_property_spec.rb

2
app/models/form/sales/questions/number_of_others_in_property.rb

@ -3,7 +3,7 @@ class Form::Sales::Questions::NumberOfOthersInProperty < ::Form::Question
super super
@id = "hholdcount" @id = "hholdcount"
@check_answer_label = "Number of other people living in the property" @check_answer_label = "Number of other people living in the property"
@header = "Besides the buyers, how many other people live in the property?" @header = "Besides the buyer(s), how many other people live or will live in the property?"
@type = "numeric" @type = "numeric"
@hint_text = "You can provide details for a maximum of 4 other people." @hint_text = "You can provide details for a maximum of 4 other people."
@width = 2 @width = 2

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

@ -16,7 +16,7 @@ RSpec.describe Form::Sales::Questions::NumberOfOthersInProperty, type: :model do
end end
it "has the correct header" do it "has the correct header" do
expect(question.header).to eq("Besides the buyers, how many other people live in the property?") expect(question.header).to eq("Besides the buyer(s), how many other people live or will live in the property?")
end end
it "has the correct check_answer_label" do it "has the correct check_answer_label" do

Loading…
Cancel
Save