fix(export): when it takes more than 3 hours, exports are purge before being generated. make it possible to have an export that takes more than 3 hours and share this behaviour with kind of same class archive
This commit is contained in:
parent
051e912a91
commit
3e56fdd1d7
19 changed files with 106 additions and 70 deletions
|
@ -1,6 +1,6 @@
|
|||
describe ArchiveCreationJob, type: :job do
|
||||
describe 'perform' do
|
||||
let(:archive) { create(:archive, status: status, groupe_instructeurs: [procedure.groupe_instructeurs.first]) }
|
||||
let(:archive) { create(:archive, job_status: status, groupe_instructeurs: [procedure.groupe_instructeurs.first]) }
|
||||
let(:instructeur) { create(:instructeur) }
|
||||
let(:procedure) { create(:procedure, instructeurs: [instructeur]) }
|
||||
let(:job) { ArchiveCreationJob.new(procedure, archive, instructeur) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue