@ -205,7 +205,7 @@ private
next if log.optional_fields.include?(question.id)
next if question.completed?(log)
fields.each { |field| errors.add(field, :blank) }
fields.each { |field| errors.add(field, I18n.t("validations.not_answered", question: question.check_answer_label&.downcase)) }
end
@ -279,6 +279,10 @@ RSpec.describe BulkUpload::Lettings::RowParser do
it "returns an error" do
expect(parser.errors[:field_103]).to be_present
it "populates with correct error message" do
expect(parser.errors[:field_103]).to eql(["You must answer type of building"])
context "when unpermitted values" do