Browse Source

Update number of others in the property header (#1234)

pull/1218/head^2
kosiakkatrina 2 years ago committed by GitHub
parent
commit
f87023a5f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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
@id = "hholdcount"
@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"
@hint_text = "You can provide details for a maximum of 4 other people."
@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
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
it "has the correct check_answer_label" do

Loading…
Cancel
Save