expect(question.header).toeq("What is the property's UPRN")
end
it"has the correct check_answer_label"do
expect(question.check_answer_label).toeq("UPRN")
end
it"has the correct type"do
expect(question.type).toeq("text")
end
it"is not marked as derived"do
expect(question.derived?).tobefalse
end
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.")
end
it"has the correct unanswered_error_message"do
expect(question.unanswered_error_message).toeq("UPRN must be 12 digits or less")