@ -55,7 +55,7 @@ RSpec.describe BulkUpload::Lettings::Validator do
it"is not valid"do
it"is not valid"do
expect(validator).not_tobe_valid
expect(validator).not_tobe_valid
expect(validator.errors["base"]).toeql(["Incorrect number of fields, please ensure you have used the template for the correct type (lettings or sales) and year."])
expect(validator.errors["base"]).toeql(["Incorrect number of fields, please ensure you have used the template for lettings #{year}."])
end
end
end
end
@ -72,7 +72,7 @@ RSpec.describe BulkUpload::Lettings::Validator do
it"is not valid"do
it"is not valid"do
expect(validator).not_tobe_valid
expect(validator).not_tobe_valid
expect(validator.errors["base"]).toeql(["Incorrect number of fields, please ensure you have used the template for the correct type (lettings or sales) and year."])
expect(validator.errors["base"]).toeql(["Incorrect number of fields, please ensure you have used the template for lettings #{year}."])