mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-25 20:46:12 +10:00
Rename MergeRequest methods that return commits or shas to be more clear and consistent
This commit is contained in:
@@ -213,7 +213,7 @@ describe SystemNoteService, services: true do
|
||||
create(:merge_request, source_project: project, target_project: project)
|
||||
end
|
||||
|
||||
subject { described_class.merge_when_build_succeeds(noteable, project, author, noteable.last_commit) }
|
||||
subject { described_class.merge_when_build_succeeds(noteable, project, author, noteable.diff_head_commit) }
|
||||
|
||||
it_behaves_like 'a system note'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user