@ -6,7 +6,7 @@ class Form::Lettings::Questions::EthnicArab < ::Form::Question
@header="Which of the following best describes the lead tenant’s Arab background?"
@header="Which of the following best describes the lead tenant’s Arab background?"
@type="radio"
@type="radio"
@check_answers_card_number=1
@check_answers_card_number=1
@hint_text="The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@hint_text=form.start_year_after_2024??"": "The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@ -6,7 +6,7 @@ class Form::Lettings::Questions::EthnicAsian < ::Form::Question
@header="Which of the following best describes the lead tenant’s Asian or Asian British background?"
@header="Which of the following best describes the lead tenant’s Asian or Asian British background?"
@type="radio"
@type="radio"
@check_answers_card_number=1
@check_answers_card_number=1
@hint_text="The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@hint_text=form.start_year_after_2024??"": "The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@ -6,7 +6,7 @@ class Form::Lettings::Questions::EthnicBlack < ::Form::Question
@header="Which of the following best describes the lead tenant’s Black, African, Caribbean or Black British background?"
@header="Which of the following best describes the lead tenant’s Black, African, Caribbean or Black British background?"
@type="radio"
@type="radio"
@check_answers_card_number=1
@check_answers_card_number=1
@hint_text="The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@hint_text=form.start_year_after_2024??"": "The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@ -6,7 +6,7 @@ class Form::Lettings::Questions::EthnicGroup < ::Form::Question
@header="What is the lead tenant’s ethnic group?"
@header="What is the lead tenant’s ethnic group?"
@type="radio"
@type="radio"
@check_answers_card_number=1
@check_answers_card_number=1
@hint_text="The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@hint_text=form.start_year_after_2024??"": "The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@ -6,7 +6,7 @@ class Form::Lettings::Questions::EthnicMixed < ::Form::Question
@header="Which of the following best describes the lead tenant’s Mixed or Multiple ethnic groups background?"
@header="Which of the following best describes the lead tenant’s Mixed or Multiple ethnic groups background?"
@type="radio"
@type="radio"
@check_answers_card_number=1
@check_answers_card_number=1
@hint_text="The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@hint_text=form.start_year_after_2024??"": "The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@ -6,7 +6,7 @@ class Form::Lettings::Questions::NationalityAllGroup < ::Form::Question
@header="What is the nationality of the lead tenant?"
@header="What is the nationality of the lead tenant?"
@type="radio"
@type="radio"
@check_answers_card_number=1
@check_answers_card_number=1
@hint_text="The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest. If the lead tenant is a dual national of the United Kingdom and another country, enter United Kingdom. If they are a dual national of two other countries, the tenant should decide which country to enter."
@hint_text="If the lead tenant is a dual national of the United Kingdom and another country, enter United Kingdom. If they are a dual national of two other countries, the tenant should decide which country to enter."
@ -6,7 +6,7 @@ class Form::Lettings::Questions::WorkingSituation1 < ::Form::Question
@header="Which of these best describes the lead tenant’s working situation?"
@header="Which of these best describes the lead tenant’s working situation?"
@type="radio"
@type="radio"
@check_answers_card_number=1
@check_answers_card_number=1
@hint_text="The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@hint_text=form.start_year_after_2024??"": "The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest."
@ -26,7 +26,7 @@ RSpec.describe Form::Lettings::Questions::NationalityAllGroup, type: :model do
end
end
it"has the correct hint_text"do
it"has the correct hint_text"do
expect(question.hint_text).toeq("The lead tenant is the person in the household who does the most paid work. If several people do the same paid work, the lead tenant is whoever is the oldest. If the lead tenant is a dual national of the United Kingdom and another country, enter United Kingdom. If they are a dual national of two other countries, the tenant should decide which country to enter.")
expect(question.hint_text).toeq("If the lead tenant is a dual national of the United Kingdom and another country, enter United Kingdom. If they are a dual national of two other countries, the tenant should decide which country to enter.")