Browse Source

linting

pull/843/head
natdeanlewissoftwire 3 years ago
parent
commit
14ced621d5
  1. 2
      spec/models/case_log_spec.rb

2
spec/models/case_log_spec.rb

@ -2302,7 +2302,7 @@ RSpec.describe CaseLog do
Timecop.freeze(Time.utc(2022, 6, 5)) 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) 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!(/\{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_name\}/, scheme["service_name"].to_s)
expected_content.sub!(/\{scheme_confidential_information\}/, scheme["sensitive"].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) expected_content.sub!(/\{scheme_primary_client_group\}/, scheme["primary_client_group"].to_s)

Loading…
Cancel
Save