Browse Source

Fix typo

pull/2269/head
Kat 2 years ago
parent
commit
0d7e21158d
  1. 2
      app/models/form/sales/questions/prevshared.rb
  2. 2
      spec/models/form/sales/questions/prevshared_spec.rb

2
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

2
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

Loading…
Cancel
Save