demarches-normaliennes/spec
Pierre de La Morinerie 7a67f1a802 jobs: ignore missing blob during virus scan
We currently have many failed VirusScannerJob enqueued, because the
underlying blob is missing.

This PR fixes the issue by discarding the job in those cases (because if
the blob is gone, the job is never going to succeed).

The implementation is based on a similar issue encoutered by the
ActiveStorage::AnalyzeJob. See 06f8baf73c
2020-07-13 14:35:41 +02:00
..
controllers validate api_entreprise_token 2020-07-08 18:59:22 +02:00
factories Remove repetition types_de_champ on type_champ change 2020-07-08 19:25:05 +02:00
features put pending testsz 2020-07-13 12:24:48 +02:00
fixtures create bilans_bdf_adapter 2020-04-30 16:15:16 +02:00
helpers show which instructeur took decision and when 2020-07-08 18:15:15 +02:00
jobs jobs: ignore missing blob during virus scan 2020-07-13 14:35:41 +02:00
lib tasks: remove old after_party tasks 2020-07-09 18:18:09 +02:00
mailers specs: use fixture_file_upload rather than Rack::Test::UploadedFile 2020-07-01 11:13:45 +02:00
middlewares specs: always require rails_helper 2020-03-31 12:48:32 +02:00
models put pending testsz 2020-07-13 12:24:48 +02:00
policies policies: fix champ policy for guest users 2020-04-02 11:27:14 +02:00
serializers Remove legacy carto code 2020-05-13 12:17:04 +02:00
services validate api_entreprise_token 2020-07-08 18:59:22 +02:00
support specs: remove unused wait-for-ajax helper 2020-03-31 12:54:49 +02:00
views specs: fix shared/attachement/_update.html.haml spec 2020-07-07 18:03:56 +02:00
rails_helper.rb specs: always require rails_helper 2020-03-31 12:48:32 +02:00
spec_helper.rb add wcag accessibility tests for usager pages using axe-core 2020-06-26 17:10:26 +02:00