Browse Source

copy change for LA (#1407)

pull/1397/head^2
Phil Lee 2 years ago committed by GitHub
parent
commit
7e6d2f110c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      app/models/form/lettings/questions/la.rb
  2. 2
      app/models/form/sales/questions/property_local_authority.rb
  3. 2
      spec/models/form/sales/questions/property_local_authority_spec.rb

2
app/models/form/lettings/questions/la.rb

@ -3,7 +3,7 @@ class Form::Lettings::Questions::La < ::Form::Question
super super
@id = "la" @id = "la"
@check_answer_label = "Local Authority" @check_answer_label = "Local Authority"
@header = "What is the local authority of the property?" @header = "What is the property’s local authority?"
@type = "select" @type = "select"
@check_answers_card_number = 0 @check_answers_card_number = 0
@hint_text = "" @hint_text = ""

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

@ -3,7 +3,7 @@ class Form::Sales::Questions::PropertyLocalAuthority < ::Form::Question
super super
@id = "la" @id = "la"
@check_answer_label = "Local authority" @check_answer_label = "Local authority"
@header = "What is the local authority of the property?" @header = "What is the property’s local authority?"
@type = "select" @type = "select"
end end

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

@ -18,7 +18,7 @@ RSpec.describe Form::Sales::Questions::PropertyLocalAuthority, type: :model do
end end
it "has the correct header" do it "has the correct header" do
expect(question.header).to eq("What is the local authority of the property?") expect(question.header).to eq("What is the property’s local authority?")
end end
it "has the correct check_answer_label" do it "has the correct check_answer_label" do

Loading…
Cancel
Save