diff --git a/app/models/form/lettings/questions/renewal.rb b/app/models/form/lettings/questions/renewal.rb index 1282984cc..edf9c1e7b 100644 --- a/app/models/form/lettings/questions/renewal.rb +++ b/app/models/form/lettings/questions/renewal.rb @@ -6,6 +6,7 @@ class Form::Lettings::Questions::Renewal < ::Form::Question @header = "Is this letting a renewal?" @type = "radio" @answer_options = ANSWER_OPTIONS + @hint_text = "A renewal is a letting to the same tenant in the same property" end ANSWER_OPTIONS = { diff --git a/spec/models/form/lettings/questions/renewal_spec.rb b/spec/models/form/lettings/questions/renewal_spec.rb index 820ff7c98..edb869d02 100644 --- a/spec/models/form/lettings/questions/renewal_spec.rb +++ b/spec/models/form/lettings/questions/renewal_spec.rb @@ -28,7 +28,7 @@ RSpec.describe Form::Lettings::Questions::Renewal, type: :model do end it "has the correct hint_text" do - expect(question.hint_text).to be_nil + expect(question.hint_text).to eq("A renewal is a letting to the same tenant in the same property") end it "has the correct answer_options" do