From 52e364212779c2a1d94c835c4bc748d88f49e01e Mon Sep 17 00:00:00 2001 From: aakashb95 Date: Fri, 12 Dec 2025 14:39:46 +0530 Subject: [PATCH] fix rubocop --- spec/lib/integrations/openai/processor_service_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/lib/integrations/openai/processor_service_spec.rb b/spec/lib/integrations/openai/processor_service_spec.rb index 7950fd02c..f9bd5531f 100644 --- a/spec/lib/integrations/openai/processor_service_spec.rb +++ b/spec/lib/integrations/openai/processor_service_spec.rb @@ -54,9 +54,11 @@ RSpec.describe Integrations::Openai::ProcessorService do it 'sets system instructions' do service.perform if event_name == 'fix_spelling_grammar' - expect(mock_chat).to have_received(:with_instructions).with(a_string_including('Please fix the spelling and grammar')) + expect(mock_chat).to have_received(:with_instructions) + .with(a_string_including('Please fix the spelling and grammar')) else - expect(mock_chat).to have_received(:with_instructions).with(a_string_including('You are an AI writing assistant integrated into Chatwoot')) + expect(mock_chat).to have_received(:with_instructions) + .with(a_string_including('You are an AI writing assistant integrated into Chatwoot')) end end end