BigW Consortium Gitlab

Fix merge request spec for update diff note

parent fc8d2fbc
...@@ -673,6 +673,8 @@ describe MergeRequest, models: true do ...@@ -673,6 +673,8 @@ describe MergeRequest, models: true do
start_commit_sha: commit.parent_id, start_commit_sha: commit.parent_id,
head_commit_sha: commit.sha head_commit_sha: commit.sha
) )
subject.merge_request_diff(true)
end end
expect(Notes::DiffPositionUpdateService).to receive(:new).with( expect(Notes::DiffPositionUpdateService).to receive(:new).with(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment