Browse Source

refactor: linting

pull/1378/head
natdeanlewissoftwire 3 years ago
parent
commit
83aa936cb3
  1. 5
      spec/models/lettings_log_spec.rb

5
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))

Loading…
Cancel
Save