Skip to content

Commit

Permalink
update info statement
Browse files Browse the repository at this point in the history
  • Loading branch information
asiisii committed Jan 9, 2025
1 parent 9312b6c commit 7b27f5a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/services/claim_fast_tracking/max_rating_annotator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b27f5a

Please sign in to comment.