diff --git a/spec/requests/bulk_upload_lettings_logs_controller_spec.rb b/spec/requests/bulk_upload_lettings_logs_controller_spec.rb index b915b571c..7cea42f69 100644 --- a/spec/requests/bulk_upload_lettings_logs_controller_spec.rb +++ b/spec/requests/bulk_upload_lettings_logs_controller_spec.rb @@ -10,10 +10,10 @@ RSpec.describe BulkUploadLettingsLogsController, type: :request do describe "GET /lettings-logs/bulk-upload-logs/start" do context "when not in crossover period" do - let(:expected_year) { 2021 } + let(:expected_year) { 2022 } it "redirects to /prepare-your-file" do - Timecop.freeze(2022, 1, 1) do + Timecop.freeze(2023, 1, 1) do get "/lettings-logs/bulk-upload-logs/start", params: {} expect(response).to redirect_to("/lettings-logs/bulk-upload-logs/prepare-your-file?form%5Byear%5D=#{expected_year}")