@ -7,6 +7,7 @@ class Form::Sales::Questions::Uprn < ::Form::Question
@type="text"
@type="text"
@hint_text="The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and sectors UK-wide. For example 10010457355."
@hint_text="The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and sectors UK-wide. For example 10010457355."
@ -31,6 +31,10 @@ RSpec.describe Form::Sales::Questions::Uprn, type: :model do
expect(question.derived?).tobefalse
expect(question.derived?).tobefalse
end
end
it"has the correct question_number"do
expect(question.question_number).toeq(14)
end
it"has the correct hint"do
it"has the correct hint"do
expect(question.hint_text).toeq("The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and sectors UK-wide. For example 10010457355.")
expect(question.hint_text).toeq("The Unique Property Reference Number (UPRN) is a unique number system created by Ordnance Survey and used by housing providers and sectors UK-wide. For example 10010457355.")