Browse Source

British Summer Time fixes (#1473)

pull/1476/head v0.3.4
Jack 2 years ago committed by GitHub
parent
commit
bc722ab1ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      spec/services/bulk_upload/lettings/year2022/row_parser_spec.rb
  2. 2
      spec/services/bulk_upload/lettings/year2023/row_parser_spec.rb

2
spec/services/bulk_upload/lettings/year2022/row_parser_spec.rb

@ -3,7 +3,7 @@ require "rails_helper"
RSpec.describe BulkUpload::Lettings::Year2022::RowParser do
subject(:parser) { described_class.new(attributes) }
let(:now) { Time.zone.today }
let(:now) { Time.zone.parse("01/03/2023") }
let(:attributes) { { bulk_upload: } }
let(:bulk_upload) { create(:bulk_upload, :lettings, user:) }

2
spec/services/bulk_upload/lettings/year2023/row_parser_spec.rb

@ -3,7 +3,7 @@ require "rails_helper"
RSpec.describe BulkUpload::Lettings::Year2023::RowParser do
subject(:parser) { described_class.new(attributes) }
let(:now) { Time.zone.today }
let(:now) { Time.zone.parse("01/03/2023") }
let(:attributes) { { bulk_upload: } }
let(:bulk_upload) { create(:bulk_upload, :lettings, user:, needstype: nil) }

Loading…
Cancel
Save