From c14648f288352a8a69cd36954c697720188804e2 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 22 Dec 2022 09:53:28 +0000 Subject: [PATCH] tests: test tweaks --- app/models/form/sales/questions/deposit_discount.rb | 2 +- spec/models/form/sales/questions/deposit_discount_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/form/sales/questions/deposit_discount.rb b/app/models/form/sales/questions/deposit_discount.rb index 66bfee668..c3235808d 100644 --- a/app/models/form/sales/questions/deposit_discount.rb +++ b/app/models/form/sales/questions/deposit_discount.rb @@ -9,6 +9,6 @@ class Form::Sales::Questions::DepositDiscount < ::Form::Question @min = 0 @width = 5 @prefix = "£" - @hint_text = " Enter the total cash discount given on the property being purchased through the Social HomeBuy scheme" + @hint_text = "Enter the total cash discount given on the property being purchased through the Social HomeBuy scheme" end end \ No newline at end of file diff --git a/spec/models/form/sales/questions/deposit_discount_spec.rb b/spec/models/form/sales/questions/deposit_discount_spec.rb index 54675f98e..b0f8899bf 100644 --- a/spec/models/form/sales/questions/deposit_discount_spec.rb +++ b/spec/models/form/sales/questions/deposit_discount_spec.rb @@ -20,7 +20,7 @@ RSpec.describe Form::Sales::Questions::DepositDiscount, type: :model do end it "has the correct check_answer_label" do - expect(question.check_answer_label).to eq("Monthly rent") + expect(question.check_answer_label).to eq("Cash discount through SocialHomeBuy") end it "has the correct type" do