From c2c27df48181bc2a2e32faaa7711b8b046363d93 Mon Sep 17 00:00:00 2001 From: Kat Date: Tue, 20 Sep 2022 09:06:36 +0100 Subject: [PATCH] Fix typo --- app/models/form/sales/questions/shared_ownership_type.rb | 2 +- spec/models/form/sales/questions/shared_ownership_type_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/form/sales/questions/shared_ownership_type.rb b/app/models/form/sales/questions/shared_ownership_type.rb index ab5e46bb3..27d6ea074 100644 --- a/app/models/form/sales/questions/shared_ownership_type.rb +++ b/app/models/form/sales/questions/shared_ownership_type.rb @@ -4,7 +4,7 @@ class Form::Sales::Questions::SharedOwnershipType < ::Form::Question @id = "type" @check_answer_label = "Type of shared ownership sale" @header = "What is the type of shared ownership sale?" - @hint_text = "A shared ownership sale is when the purchaser buys up to 75% of the property value and pays rent ro the Private Registered Provider (PRP) on the remaining portion" + @hint_text = "A shared ownership sale is when the purchaser buys up to 75% of the property value and pays rent to the Private Registered Provider (PRP) on the remaining portion" @type = "radio" @answer_options = ANSWER_OPTIONS @page = page diff --git a/spec/models/form/sales/questions/shared_ownership_type_spec.rb b/spec/models/form/sales/questions/shared_ownership_type_spec.rb index 5ad3890e1..c164c5794 100644 --- a/spec/models/form/sales/questions/shared_ownership_type_spec.rb +++ b/spec/models/form/sales/questions/shared_ownership_type_spec.rb @@ -32,7 +32,7 @@ RSpec.describe Form::Sales::Questions::SharedOwnershipType, type: :model do end it "has the correct hint_text" do - expect(question.hint_text).to eq("A shared ownership sale is when the purchaser buys up to 75% of the property value and pays rent ro the Private Registered Provider (PRP) on the remaining portion") + expect(question.hint_text).to eq("A shared ownership sale is when the purchaser buys up to 75% of the property value and pays rent to the Private Registered Provider (PRP) on the remaining portion") end it "has the correct answer_options" do