Revert "Export de tous les dossier d'une démarche"

This commit is contained in:
krichtof 2021-04-29 16:07:18 +02:00 committed by GitHub
parent 4f79c0315d
commit d9a588b52e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 36 additions and 675 deletions

View file

@ -16,12 +16,7 @@ describe PiecesJustificativesService do
# to be exported
it 'ensures no titre identite is given' do
expect(champ_identite.piece_justificative_file).to be_attached
expect(subject.any? { |piece| piece.name == 'piece_justificative_file' }).to be_falsy
end
it 'returns export pdf of the dossier' do
expect(champ_identite.piece_justificative_file).to be_attached
expect(subject.any? { |piece| piece.name == 'pdf_export_for_instructeur' }).to be_truthy
expect(subject).to eq([])
end
end
end