diff --git a/spec/services/bulk_upload/lettings/validator_spec.rb b/spec/services/bulk_upload/lettings/validator_spec.rb index 962ed33fb..679602ec0 100644 --- a/spec/services/bulk_upload/lettings/validator_spec.rb +++ b/spec/services/bulk_upload/lettings/validator_spec.rb @@ -17,7 +17,7 @@ RSpec.describe BulkUpload::Lettings::Validator do end end - context "2022" do + context "when 2022" do let(:bulk_upload) { create(:bulk_upload, user:, year: 2022) } context "when file has no headers" do @@ -105,7 +105,7 @@ RSpec.describe BulkUpload::Lettings::Validator do end end - context "2023" do + context "when 2023" do let(:bulk_upload) { create(:bulk_upload, user:, year: 2023) } context "when file has no headers" do