From 64de8e6ff35652d7f612007bfe9e3291569a9672 Mon Sep 17 00:00:00 2001 From: Nat Dean-Lewis Date: Fri, 11 Sep 2026 15:19:46 +0100 Subject: [PATCH] CLDC-4462: remove routing change as not needed (test update) --- spec/lib/tasks/clear_confidential_address_data_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/tasks/clear_confidential_address_data_spec.rb b/spec/lib/tasks/clear_confidential_address_data_spec.rb index 0576365a6..e244855d3 100644 --- a/spec/lib/tasks/clear_confidential_address_data_spec.rb +++ b/spec/lib/tasks/clear_confidential_address_data_spec.rb @@ -136,13 +136,13 @@ RSpec.describe "clear_confidential_address_data" do before { location.update_columns(location_code: nil, location_admin_district: nil, is_la_inferred: false) } - it "clears the address fields and forces the log to in_progress" do + it "clears the address fields but leaves the log's status unchanged" do task.invoke log.reload expect(log.address_line1).to be_nil expect(log.la).to be_nil - expect(log.status).to eq("in_progress") + expect(log.status).to eq("completed") end end