Browse Source

fix specs

pull/1334/head
Phil Lee 3 years ago
parent
commit
b9f38eaec6
  1. 1
      spec/services/bulk_upload/lettings/year2022/row_parser_spec.rb
  2. 1
      spec/services/bulk_upload/lettings/year2023/row_parser_spec.rb

1
spec/services/bulk_upload/lettings/year2022/row_parser_spec.rb

@ -224,6 +224,7 @@ RSpec.describe BulkUpload::Lettings::Year2022::RowParser do
context "when the log already exists in the db" do context "when the log already exists in the db" do
before do before do
parser.log.save! parser.log.save!
parser.instance_variable_set(:@valid, nil)
end end
it "is not a valid row" do it "is not a valid row" do

1
spec/services/bulk_upload/lettings/year2023/row_parser_spec.rb

@ -245,6 +245,7 @@ RSpec.describe BulkUpload::Lettings::Year2023::RowParser do
context "when the log already exists in the db" do context "when the log already exists in the db" do
before do before do
parser.log.save! parser.log.save!
parser.instance_variable_set(:@valid, nil)
end end
it "is not a valid row" do it "is not a valid row" do

Loading…
Cancel
Save