Browse Source

copy change for LA

pull/1407/head
Phil Lee 3 years ago
parent
commit
ab0fd5d5f6
  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