diff --git a/app/models/form/lettings/questions/period.rb b/app/models/form/lettings/questions/period.rb index c4f476c7f..c9fa80263 100644 --- a/app/models/form/lettings/questions/period.rb +++ b/app/models/form/lettings/questions/period.rb @@ -6,7 +6,7 @@ class Form::Lettings::Questions::Period < ::Form::Question @header = "How often does the household pay rent and other charges?" @type = "radio" @check_answers_card_number = 0 - @hint_text = "" + @hint_text = "Select how often the household is charged. This may be different to how often they pay." @answer_options = ANSWER_OPTIONS @question_number = 92 end diff --git a/config/forms/2022_2023.json b/config/forms/2022_2023.json index 7e4318998..5fecd6ffa 100644 --- a/config/forms/2022_2023.json +++ b/config/forms/2022_2023.json @@ -7443,7 +7443,7 @@ "period": { "check_answer_label": "Frequency of household rent and charges", "header": "How often does the household pay rent and other charges?", - "hint_text": "", + "hint_text": "Select how often the household is charged. This may be different to how often they pay.", "type": "radio", "answer_options": { "2": { diff --git a/spec/models/form/lettings/questions/period_spec.rb b/spec/models/form/lettings/questions/period_spec.rb new file mode 100644 index 000000000..6097dfc55 --- /dev/null +++ b/spec/models/form/lettings/questions/period_spec.rb @@ -0,0 +1,11 @@ +require "rails_helper" + +RSpec.describe Form::Lettings::Questions::Period, type: :model do + subject(:question) { described_class.new(nil, nil, page) } + + let(:page) { instance_double(Form::Page) } + + it "has the correct hint" do + expect(question.hint_text).to eq("Select how often the household is charged. This may be different to how often they pay.") + end +end