Skip to content

Commit

Permalink
Added virus scan to uploads spec
Browse files Browse the repository at this point in the history
  • Loading branch information
RachalCassity committed Apr 17, 2024
1 parent be21fde commit 2f7493f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/simple_forms_api/spec/requests/v1/uploads_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@

context 'going to Lighthouse Benefits Claims API' do
before do
allow(Common::VirusScan).to receive(:scan).and_return(true)
allow_any_instance_of(Common::VirusScan).to receive(:scan).and_return(true)
VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/404_response')
VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/200_response_pension')
VCR.insert_cassette('lighthouse/benefits_claims/intent_to_file/200_response_survivor')
Expand Down

0 comments on commit 2f7493f

Please sign in to comment.