From f444304c9d02c504b47f52fce14120dbe295646f Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Tue, 19 Sep 2023 18:07:15 +0100 Subject: [PATCH] feat: lint --- spec/models/lettings_log_spec.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/spec/models/lettings_log_spec.rb b/spec/models/lettings_log_spec.rb index 3ac0cfe37..6b69146dc 100644 --- a/spec/models/lettings_log_spec.rb +++ b/spec/models/lettings_log_spec.rb @@ -2036,10 +2036,10 @@ RSpec.describe LettingsLog do end describe "when changing a log's scheme and hence calling reset_scheme_location!" do - let!(:scheme) { FactoryBot.create(:scheme)} - let!(:invalid_location_1) { FactoryBot.create(:location, scheme:, startdate: Time.zone.today + 3.weeks)} - let!(:valid_location) { FactoryBot.create(:location, scheme:, startdate: Time.zone.yesterday)} - let!(:invalid_location_2) { FactoryBot.create(:location, scheme:, startdate: Time.zone.today + 3.weeks)} + let(:scheme) { FactoryBot.create(:scheme)} + let(:invalid_location_1) { FactoryBot.create(:location, scheme:, startdate: Time.zone.today + 3.weeks)} + let(:valid_location) { FactoryBot.create(:location, scheme:, startdate: Time.zone.yesterday)} + let(:invalid_location_2) { FactoryBot.create(:location, scheme:, startdate: Time.zone.today + 3.weeks)} context "when there is one valid location and many invalid locations in the new scheme" do let(:log) { create(:lettings_log, scheme: nil, location_id: nil, startdate: Time.zone.today) }