Browse Source

Remove full stops for now 2

pull/2629/head
Manny Dinssa 2 years ago
parent
commit
b8c1502567
  1. 4
      spec/services/bulk_upload/lettings/year2024/row_parser_spec.rb
  2. 4
      spec/services/bulk_upload/sales/year2024/row_parser_spec.rb

4
spec/services/bulk_upload/lettings/year2024/row_parser_spec.rb

@ -1454,7 +1454,7 @@ RSpec.describe BulkUpload::Lettings::Year2024::RowParser do
parser = described_class.new(attributes) parser = described_class.new(attributes)
parser.valid? parser.valid?
expect(parser).to be_block_log_creation expect(parser).to be_block_log_creation
expect(parser.errors[:field_1]).to include("You do not have permission to add logs for this owning organisation.") expect(parser.errors[:field_1]).to include("You do not have permission to add logs for this owning organisation")
end end
end end
@ -1471,7 +1471,7 @@ RSpec.describe BulkUpload::Lettings::Year2024::RowParser do
it "does not block log creation and does not add an error to field_1" do it "does not block log creation and does not add an error to field_1" do
parser = described_class.new(attributes) parser = described_class.new(attributes)
parser.valid? parser.valid?
expect(parser.errors[:field_1]).not_to include("You do not have permission to add logs for this owning organisation.") expect(parser.errors[:field_1]).not_to include("You do not have permission to add logs for this owning organisation")
end end
end end
end end

4
spec/services/bulk_upload/sales/year2024/row_parser_spec.rb

@ -569,7 +569,7 @@ RSpec.describe BulkUpload::Sales::Year2024::RowParser do
parser = described_class.new(attributes) parser = described_class.new(attributes)
parser.valid? parser.valid?
expect(parser).to be_block_log_creation expect(parser).to be_block_log_creation
expect(parser.errors[:field_1]).to include("You do not have permission to add logs for this owning organisation.") expect(parser.errors[:field_1]).to include("You do not have permission to add logs for this owning organisation")
end end
end end
@ -586,7 +586,7 @@ RSpec.describe BulkUpload::Sales::Year2024::RowParser do
it "does not block log creation and does not add an error to field_1" do it "does not block log creation and does not add an error to field_1" do
parser = described_class.new(attributes) parser = described_class.new(attributes)
parser.valid? parser.valid?
expect(parser.errors[:field_1]).not_to include("You do not have permission to add logs for this owning organisation.") expect(parser.errors[:field_1]).not_to include("You do not have permission to add logs for this owning organisation")
end end
end end
end end

Loading…
Cancel
Save