Fix merge request spec for update diff note

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2016-08-02 18:07:50 +03:00
parent fc8d2fbc94
commit 159998a460
No known key found for this signature in database
GPG Key ID: 627C5F589F467F17
1 changed files with 2 additions and 0 deletions

View File

@ -673,6 +673,8 @@ describe MergeRequest, models: true do
start_commit_sha: commit.parent_id,
head_commit_sha: commit.sha
)
subject.merge_request_diff(true)
end
expect(Notes::DiffPositionUpdateService).to receive(:new).with(