Browse Source

test: ensure context descriptions start with "when"

pull/1588/head
Sam Seed 3 years ago
parent
commit
25c7244ae7
  1. 4
      spec/services/bulk_upload/lettings/validator_spec.rb

4
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

Loading…
Cancel
Save