|
|
|
@ -2302,7 +2302,7 @@ RSpec.describe CaseLog do
|
|
|
|
|
Timecop.freeze(Time.utc(2022, 6, 5)) |
|
|
|
|
case_log = FactoryBot.create(:case_log, needstype: 2, scheme:, location:, owning_organisation: scheme.owning_organisation, created_by: user) |
|
|
|
|
expected_content.sub!(/\{id\}/, case_log["id"].to_s) |
|
|
|
|
expected_content.sub!(/\{scheme_code\}/, "S#{scheme['id'].to_s}") |
|
|
|
|
expected_content.sub!(/\{scheme_code\}/, "S#{scheme['id']}") |
|
|
|
|
expected_content.sub!(/\{scheme_name\}/, scheme["service_name"].to_s) |
|
|
|
|
expected_content.sub!(/\{scheme_confidential_information\}/, scheme["sensitive"].to_s) |
|
|
|
|
expected_content.sub!(/\{scheme_primary_client_group\}/, scheme["primary_client_group"].to_s) |
|
|
|
|