Browse Source

CLDC-4462: remove routing change as not needed (test update)

pull/3379/head^2 v0.6.18
Nat Dean-Lewis 1 month ago
parent
commit
64de8e6ff3
  1. 4
      spec/lib/tasks/clear_confidential_address_data_spec.rb

4
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

Loading…
Cancel
Save