Revert "Export de tous les dossier d'une démarche"
This commit is contained in:
parent
4f79c0315d
commit
d9a588b52e
32 changed files with 36 additions and 675 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue