Skip to content
Snippets Groups Projects
Commit 921bc753 authored by Jasper Maes's avatar Jasper Maes
Browse files

Fix deprecation: Passing conditions to delete_all is deprecated

parent 07e079e8
No related branches found
No related tags found
No related merge requests found
---
title: 'Fix deprecation: Passing conditions to delete_all is deprecated'
merge_request: 23817
author: Jasper Maes
type: other
Loading
Loading
@@ -105,7 +105,7 @@ describe MergeRequestDiff do
 
context 'when the raw diffs are empty' do
before do
MergeRequestDiffFile.delete_all(merge_request_diff_id: diff_with_commits.id)
MergeRequestDiffFile.where(merge_request_diff_id: diff_with_commits.id).delete_all
end
 
it 'returns an empty DiffCollection' do
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment