|
|
|
|
@ -127,7 +127,7 @@ RSpec.describe Exports::LettingsLogExportService do
|
|
|
|
|
|
|
|
|
|
context "and multiple lettings logs are available for export on same quarter" do |
|
|
|
|
before do |
|
|
|
|
FactoryBot.create(:lettings_log, startdate: Time.zone.local(2022, 2, 1)) |
|
|
|
|
FactoryBot.create(:lettings_log, startdate: Time.zone.local(2022, 2, 1), needstype: 2) |
|
|
|
|
FactoryBot.create(:lettings_log, startdate: Time.zone.local(2022, 3, 20)) |
|
|
|
|
end |
|
|
|
|
|
|
|
|
|
|