correction du test sur la suppression de la PJ d'un dossier

This commit is contained in:
Benoit Queyron 2024-07-12 11:17:51 +02:00
parent 3e4aa0cde3
commit 88710969bb
No known key found for this signature in database
GPG key ID: 9E723480C7317E22

View file

@ -51,7 +51,7 @@ describe AttachmentsController, type: :controller do
let(:signed_id) { attachment.blob.signed_id } let(:signed_id) { attachment.blob.signed_id }
subject do subject do
delete :destroy, params: { id: attachment.id, signed_id: signed_id }, format: :turbo_stream delete :destroy, params: { id: attachment.id, signed_id: signed_id, dossier_id: dossier.id, stable_id: champ.stable_id }, format: :turbo_stream
end end
context "when authenticated" do context "when authenticated" do