correction du test sur la suppression de la PJ d'un dossier
This commit is contained in:
parent
3e4aa0cde3
commit
88710969bb
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue