From 8b298c5af89a2be8f3a505bc70e361c7618b7e5a Mon Sep 17 00:00:00 2001 From: Phil Lee Date: Mon, 3 Apr 2023 14:45:48 +0100 Subject: [PATCH] fix tests for new collection year --- spec/requests/bulk_upload_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/requests/bulk_upload_controller_spec.rb b/spec/requests/bulk_upload_controller_spec.rb index 7aa0d16e0..5a904fa7b 100644 --- a/spec/requests/bulk_upload_controller_spec.rb +++ b/spec/requests/bulk_upload_controller_spec.rb @@ -69,13 +69,13 @@ RSpec.describe BulkUploadController, type: :request do end context "when not crossover period" do - let(:time) { Time.utc(2022, 2, 8) } + let(:time) { Time.utc(2023, 2, 8) } it "redirects to bulk upload path" do expect(request).to redirect_to( bulk_upload_lettings_log_path( id: "prepare-your-file", - form: { year: 2021 }, + form: { year: 2022 }, ), ) end