Browse Source

Fix typo

pull/881/head
Kat 3 years ago
parent
commit
c2c27df481
  1. 2
      app/models/form/sales/questions/shared_ownership_type.rb
  2. 2
      spec/models/form/sales/questions/shared_ownership_type_spec.rb

2
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

2
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

Loading…
Cancel
Save