diff --git a/app/models/form/sales/questions/deposit_amount.rb b/app/models/form/sales/questions/deposit_amount.rb index 689299e56..39025d2b1 100644 --- a/app/models/form/sales/questions/deposit_amount.rb +++ b/app/models/form/sales/questions/deposit_amount.rb @@ -33,9 +33,9 @@ class Form::Sales::Questions::DepositAmount < ::Form::Question def hint_text if @optional - "Enter the total cash sum paid by the buyer towards the property that was not funded by the mortgage. As this is a fully staircased sale this question is optional. If you do not have the information available click save and continue" + "Enter the total cash sum paid by the buyer towards the property that was not funded by the mortgage. This excludes any grant or loan. As this is a fully staircased sale this question is optional. If you do not have the information available click save and continue" else - "Enter the total cash sum paid by the buyer towards the property that was not funded by the mortgage" + "Enter the total cash sum paid by the buyer towards the property that was not funded by the mortgage. This excludes any grant or loan" end end end diff --git a/app/models/form/sales/questions/prevshared.rb b/app/models/form/sales/questions/prevshared.rb index b319281d3..9ee095f69 100644 --- a/app/models/form/sales/questions/prevshared.rb +++ b/app/models/form/sales/questions/prevshared.rb @@ -3,10 +3,10 @@ class Form::Sales::Questions::Prevshared < ::Form::Question super @id = "prevshared" @check_answer_label = "Previous property shared ownership?" - @header = "Was the previous property a shared ownership property?" + @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/deposit_amount_spec.rb b/spec/models/form/sales/questions/deposit_amount_spec.rb index 80429b5af..944cb2e44 100644 --- a/spec/models/form/sales/questions/deposit_amount_spec.rb +++ b/spec/models/form/sales/questions/deposit_amount_spec.rb @@ -32,7 +32,7 @@ RSpec.describe Form::Sales::Questions::DepositAmount, type: :model do end it "has the correct hint" do - expect(question.hint_text).to eq("Enter the total cash sum paid by the buyer towards the property that was not funded by the mortgage") + expect(question.hint_text).to eq("Enter the total cash sum paid by the buyer towards the property that was not funded by the mortgage. This excludes any grant or loan") end it "has correct width" do @@ -55,7 +55,7 @@ RSpec.describe Form::Sales::Questions::DepositAmount, type: :model do subject(:question) { described_class.new(question_id, question_definition, page, ownershipsch: 1, optional: true) } it "has a correct hint_text" do - expect(question.hint_text).to eq("Enter the total cash sum paid by the buyer towards the property that was not funded by the mortgage. As this is a fully staircased sale this question is optional. If you do not have the information available click save and continue") + expect(question.hint_text).to eq("Enter the total cash sum paid by the buyer towards the property that was not funded by the mortgage. This excludes any grant or loan. As this is a fully staircased sale this question is optional. If you do not have the information available click save and continue") end end end diff --git a/spec/models/form/sales/questions/prevshared_spec.rb b/spec/models/form/sales/questions/prevshared_spec.rb index 3806b9561..11a3f85c2 100644 --- a/spec/models/form/sales/questions/prevshared_spec.rb +++ b/spec/models/form/sales/questions/prevshared_spec.rb @@ -16,7 +16,7 @@ RSpec.describe Form::Sales::Questions::Prevshared, type: :model do end it "has the correct header" do - expect(question.header).to eq("Was the previous property a shared ownership property?") + expect(question.header).to eq("Was the previous property under shared ownership?") end it "has the correct check_answer_label" do @@ -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