@ -1029,8 +1029,8 @@ RSpec.describe BulkUpload::Sales::Year2023::RowParser do
end
end
it"populates with correct error message"do
it"populates with correct error message"do
expect(parser.errors.where(:field_30,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired.")
expect(parser.errors.where(:field_30,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired. The minimum expected retirement age in England is 66.")
expect(parser.errors.where(:field_30,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired.")
expect(parser.errors.where(:field_30,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired. The minimum expected retirement age in England is 66.")
@ -1486,8 +1486,8 @@ RSpec.describe BulkUpload::Sales::Year2024::RowParser do
it"populates with correct error message"do
it"populates with correct error message"do
parser.valid?
parser.valid?
expect(parser.errors.where(:field_31,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired.")
expect(parser.errors.where(:field_31,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired. The minimum expected retirement age in England is 66.")
expect(parser.errors.where(:field_35,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired.")
expect(parser.errors.where(:field_35,category::soft_validation).first.message).toeql("You told us this person is aged 22 years and retired. The minimum expected retirement age in England is 66.")