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