From fcdc3bac510b8964969f143a352ac0c7c176e3e7 Mon Sep 17 00:00:00 2001 From: asiisii Date: Thu, 9 Jan 2025 10:37:09 -0700 Subject: [PATCH] update info statement --- app/services/claim_fast_tracking/max_rating_annotator.rb | 2 +- .../services/claim_fast_tracking/max_rating_annotator_spec.rb | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/app/services/claim_fast_tracking/max_rating_annotator.rb b/app/services/claim_fast_tracking/max_rating_annotator.rb index fa9900a2aab..0caa0a035c1 100644 --- a/app/services/claim_fast_tracking/max_rating_annotator.rb +++ b/app/services/claim_fast_tracking/max_rating_annotator.rb @@ -56,7 +56,7 @@ def self.diagnostic_code_type(rated_disability) def self.get_ratings(diagnostic_codes, user) if Flipper.enabled?(:disability_526_max_cfi_service_switch, user) - Rails.logger.info('Implement the new service logic') + Rails.logger.info('New Max Ratings service triggered by feature flag, but implementation is pending') # TODO: Handle the new logic for max ratings when switching to the new service else vro_client = VirtualRegionalOffice::Client.new diff --git a/spec/services/claim_fast_tracking/max_rating_annotator_spec.rb b/spec/services/claim_fast_tracking/max_rating_annotator_spec.rb index 3dbadd5efb4..67d65d09deb 100644 --- a/spec/services/claim_fast_tracking/max_rating_annotator_spec.rb +++ b/spec/services/claim_fast_tracking/max_rating_annotator_spec.rb @@ -220,7 +220,9 @@ end it 'logs a message indicating the new service is used' do - expect(Rails.logger).to receive(:info).with('Implement the new service logic') + expect(Rails.logger).to receive(:info).with( + 'New Max Ratings service triggered by feature flag, but implementation is pending' + ) described_class.send(:get_ratings, diagnostic_codes, user) end end