Browse Source

fix tests for new collection year

further-bulk-upload-year-fixes
Phil Lee 2 years ago
parent
commit
8b298c5af8
  1. 4
      spec/requests/bulk_upload_controller_spec.rb

4
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

Loading…
Cancel
Save