From 0d7e21158d1d19fa89982ca67b921bbe2a91eddc Mon Sep 17 00:00:00 2001 From: Kat Date: Mon, 4 Mar 2024 13:17:44 +0000 Subject: [PATCH] Fix typo --- app/models/form/sales/questions/prevshared.rb | 2 +- spec/models/form/sales/questions/prevshared_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/form/sales/questions/prevshared.rb b/app/models/form/sales/questions/prevshared.rb index f3f4dab48..9ee095f69 100644 --- a/app/models/form/sales/questions/prevshared.rb +++ b/app/models/form/sales/questions/prevshared.rb @@ -6,7 +6,7 @@ class Form::Sales::Questions::Prevshared < ::Form::Question @header = "Was the previous property under shared ownership?" @type = "radio" @answer_options = ANSWER_OPTIONS - @hint = "For any buyer" + @hint_text = "For any buyer" @question_number = 74 end diff --git a/spec/models/form/sales/questions/prevshared_spec.rb b/spec/models/form/sales/questions/prevshared_spec.rb index 4818174af..11a3f85c2 100644 --- a/spec/models/form/sales/questions/prevshared_spec.rb +++ b/spec/models/form/sales/questions/prevshared_spec.rb @@ -44,6 +44,6 @@ RSpec.describe Form::Sales::Questions::Prevshared, type: :model do end it "has the correct hint" do - expect(question.hint_text).to be_nil + expect(question.hint_text).to eq("For any buyer") end end