From cb715295fa4ae978fed9e921e0d96c6a55910968 Mon Sep 17 00:00:00 2001 From: Kat Date: Thu, 13 Jun 2024 10:07:45 +0100 Subject: [PATCH] Update test --- spec/lib/tasks/fix_nil_letting_allocation_values_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/tasks/fix_nil_letting_allocation_values_spec.rb b/spec/lib/tasks/fix_nil_letting_allocation_values_spec.rb index c8992a6e6..8db478eb8 100644 --- a/spec/lib/tasks/fix_nil_letting_allocation_values_spec.rb +++ b/spec/lib/tasks/fix_nil_letting_allocation_values_spec.rb @@ -66,7 +66,7 @@ RSpec.describe "fix_nil_letting_allocation_values" do it "logs the log id if the change cannot be saved" do log = create(:lettings_log, :ignore_validation_errors, :setup_completed, startdate: Time.zone.local(2022, 4, 1), cbl: 1, chr: nil, cap: nil, letting_allocation_unknown: nil) - expect(Rails.logger).to receive(:log).with(match(/log #{log.id}/)) + expect(Rails.logger).to receive(:info).with(match(/log #{log.id}/)) task.invoke end end