From 3ad876f46a5a4e559404713dd2904533f26e439c Mon Sep 17 00:00:00 2001 From: JG Date: Mon, 25 Jul 2022 15:20:29 +0100 Subject: [PATCH] extra test --- spec/models/case_log_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/models/case_log_spec.rb b/spec/models/case_log_spec.rb index 9ffb03eae..635982e4f 100644 --- a/spec/models/case_log_spec.rb +++ b/spec/models/case_log_spec.rb @@ -1685,6 +1685,10 @@ RSpec.describe CaseLog do expect(record_from_db["location_id"]).to eq(location.id) expect(case_log["location_id"]).to eq(location.id) end + + it "derives location_admin_district" do + expect(case_log.location_admin_district).to eq(location.location_admin_district) + end end context "and not renewal" do