From 446aa24ce700d5bc72b7e42521cb336f89df4141 Mon Sep 17 00:00:00 2001 From: Sam Seed Date: Wed, 19 Apr 2023 18:59:32 +0100 Subject: [PATCH] test: ensure context descriptions start with "when" --- spec/services/bulk_upload/lettings/validator_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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