From a5e9660368d0b1cf1884512114a2a5ae9e6f1374 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Wed, 17 May 2023 10:55:29 +0100 Subject: [PATCH] test: fixed --- spec/services/bulk_upload/lettings/validator_spec.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/services/bulk_upload/lettings/validator_spec.rb b/spec/services/bulk_upload/lettings/validator_spec.rb index 3ba36dfc0..f4fd98a12 100644 --- a/spec/services/bulk_upload/lettings/validator_spec.rb +++ b/spec/services/bulk_upload/lettings/validator_spec.rb @@ -30,7 +30,7 @@ RSpec.describe BulkUpload::Lettings::Validator do it "is not valid" do expect(validator).not_to be_valid - expect(validator.errors["base"]).to eql(["too many columns, please ensure you have used the correct template"]) + expect(validator.errors["base"]).to eql(["Too many columns, please ensure you have used the correct template"]) end end @@ -81,7 +81,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 correct template"]) end end @@ -99,7 +99,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 correct template"]) end end end @@ -118,7 +118,7 @@ RSpec.describe BulkUpload::Lettings::Validator do it "is not valid" do expect(validator).not_to be_valid - expect(validator.errors["base"]).to eql(["too many columns, please ensure you have used the correct template"]) + expect(validator.errors["base"]).to eql(["Too many columns, please ensure you have used the correct template"]) end end @@ -169,7 +169,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 correct template"]) end end @@ -187,7 +187,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 correct template"]) end end end