From ccb9d8f72c97b99aeccaa60f2149f8c8592b07d0 Mon Sep 17 00:00:00 2001 From: Tyler Fink Date: Wed, 29 May 2024 15:14:27 -0600 Subject: [PATCH] Remove checks for sentry logging --- spec/lib/res/ch31_form_spec.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/lib/res/ch31_form_spec.rb b/spec/lib/res/ch31_form_spec.rb index a33d1071594..871f81e01a9 100644 --- a/spec/lib/res/ch31_form_spec.rb +++ b/spec/lib/res/ch31_form_spec.rb @@ -45,7 +45,6 @@ context 'with an unsuccessful submission' do it 'does not successfully send to RES' do - expect(service).to receive(:log_exception_to_sentry) allow(service).to receive(:send_to_res).and_return(OpenStruct.new(body: { 'error' => 'Error' })) expect { service.submit }.to raise_error(Ch31Error) @@ -53,7 +52,6 @@ it 'handles nil claim' do nil_claim_service = RES::Ch31Form.new(user:, claim: nil) - expect(nil_claim_service).to receive(:log_exception_to_sentry) expect { nil_claim_service.submit }.to raise_error(Ch31NilClaimError) end