@ -24,7 +26,7 @@ RSpec.describe Form::Sales::Questions::UprnConfirmation, type: :model do
end
end
it"has the correct unanswered_error_message"do
it"has the correct unanswered_error_message"do
expect(question.unanswered_error_message).toeq("You must answer is this the right address?")
expect(question.unanswered_error_message).toeq("You must answer #{format_ending(I18n.t("forms.2023.sales.property_information.uprn_confirmed.check_answer_label"))}")
@ -35,7 +37,7 @@ RSpec.describe Form::Sales::Questions::UprnKnown, type: :model do
end
end
it"has the correct unanswered_error_message"do
it"has the correct unanswered_error_message"do
expect(question.unanswered_error_message).toeq("You must answer UPRN known?")
expect(question.unanswered_error_message).toeq("You must answer #{format_ending(I18n.t("forms.2023.sales.property_information.uprn.uprn_known.check_answer_label"))}")