From 88710969bbb11b69fefb5936269a6617d9e2562a Mon Sep 17 00:00:00 2001 From: Benoit Queyron <72251526+Benoit-MINT@users.noreply.github.com> Date: Fri, 12 Jul 2024 11:17:51 +0200 Subject: [PATCH] correction du test sur la suppression de la PJ d'un dossier --- spec/controllers/attachments_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/attachments_controller_spec.rb b/spec/controllers/attachments_controller_spec.rb index b005efbf5..d717db7d4 100644 --- a/spec/controllers/attachments_controller_spec.rb +++ b/spec/controllers/attachments_controller_spec.rb @@ -51,7 +51,7 @@ describe AttachmentsController, type: :controller do let(:signed_id) { attachment.blob.signed_id } 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 context "when authenticated" do