Browse Source

Update uprn known test with specific error message already used

CLDC-3740-Replace-you-didnt-answer-with-link
Manny Dinssa 2 weeks ago
parent
commit
972b12189a
  1. 2
      spec/models/form/sales/questions/uprn_known_spec.rb

2
spec/models/form/sales/questions/uprn_known_spec.rb

@ -37,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).to eq("You must answer #{format_ending(I18n.t('forms.2023.sales.property_information.uprn.uprn_known.check_answer_label'))}") expect(question.unanswered_error_message).to eq(I18n.t("validations.sales.property_information.uprn_known.invalid"))
end end
it "has the correct hidden_in_check_answers" do it "has the correct hidden_in_check_answers" do

Loading…
Cancel
Save