Browse Source

test: refactor duplicate log test

cldc-1888-bulk-upload-duplicate-log-validation
Sam Seed 2 years ago
parent
commit
4b199916e9
  1. 5
      spec/services/bulk_upload/lettings/row_parser_spec.rb

5
spec/services/bulk_upload/lettings/row_parser_spec.rb

@ -195,8 +195,11 @@ RSpec.describe BulkUpload::Lettings::RowParser do
end
context "when the log already exists in the db" do
before do
parser.log.save!
end
it "is not a valid row" do
parser.log.save
expect(parser).not_to be_valid
end
end

Loading…
Cancel
Save