Browse Source

fixup! CLDC-4328: Update wrong field numbers error

CLDC-4328-wrong-column-count-error-message
samyou-softwire 2 weeks ago
parent
commit
4c34db203e
  1. 4
      spec/services/bulk_upload/lettings/validator_spec.rb

4
spec/services/bulk_upload/lettings/validator_spec.rb

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

Loading…
Cancel
Save