@ -1005,6 +1017,22 @@ RSpec.describe BulkUpload::Lettings::Year2023::RowParser do
expect(soft_validation_errors.find{|e|e.attribute==:field_50}.message).toeql("You told us this person is under 60 and retired. The minimum expected retirement age for females in England is 60.")
expect(soft_validation_errors.find{|e|e.attribute==:field_50}.message).toeql("You told us this person is under 60 and retired. The minimum expected retirement age for females in England is 60.")
end
end
end
end
context"when soft validation is triggered and not required"do
expect(soft_validation_errors.find{|e|e.attribute==:field_128}.message).toeql("You told us the rent is £120.00 every week. The maximum rent expected for this type of property in this local authority is ££118.85 every week.")