Save virus scan status to blob metadata
This commit is contained in:
parent
7e8df41648
commit
f113d108c9
13 changed files with 143 additions and 92 deletions
|
@ -10,7 +10,7 @@ describe ChampSerializer do
|
|||
|
||||
before do
|
||||
champ.piece_justificative_file.attach({ filename: __FILE__, io: File.open(__FILE__) })
|
||||
champ.reload.virus_scan.safe!
|
||||
champ.piece_justificative_file.virus_scanner.analyze_later
|
||||
end
|
||||
after { champ.piece_justificative_file.purge }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue