From 83aa936cb3c83b890ef88a2bfdeda9896fb25ef2 Mon Sep 17 00:00:00 2001 From: natdeanlewissoftwire Date: Thu, 16 Mar 2023 15:30:34 +0000 Subject: [PATCH] refactor: linting --- spec/models/lettings_log_spec.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/models/lettings_log_spec.rb b/spec/models/lettings_log_spec.rb index d8292d7ef..a1e06c903 100644 --- a/spec/models/lettings_log_spec.rb +++ b/spec/models/lettings_log_spec.rb @@ -2048,9 +2048,11 @@ RSpec.describe LettingsLog do before do Timecop.freeze(Time.zone.local(2022, 4, 2)) end + after do Timecop.unfreeze end + let(:scheme) { FactoryBot.create(:scheme) } let!(:supported_housing_lettings_log) do described_class.create!({ @@ -2066,8 +2068,6 @@ RSpec.describe LettingsLog do }) end - - let(:location) { FactoryBot.create(:location, scheme:) } it "correctly infers and saves the renewal date" do @@ -2835,7 +2835,6 @@ RSpec.describe LettingsLog do Timecop.unfreeze end - context "with values represented as human readable labels" do before do Timecop.freeze(Time.utc(2022, 6, 5))