Skip to content

Commit

Permalink
Fix system instructeur specs
Browse files Browse the repository at this point in the history
  • Loading branch information
maatinito committed Sep 18, 2024
1 parent 8af14d4 commit 453f437
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/system/instructeurs/instruction_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
DownloadHelpers.wait_for_download
files = ZipTricks::FileReader.read_zip_structure(io: File.open(DownloadHelpers.download))

expect(DownloadHelpers.download).to include "dossier-#{dossier.id}.zip"
expect(DownloadHelpers.download).to include "dossier-#{dossier.id}"
expect(files.size).to be 2
expect(files[0].filename.include?('export')).to be_truthy
expect(files[1].filename.include?('piece_justificative_0')).to be_truthy
Expand Down

0 comments on commit 453f437

Please sign in to comment.