align with the comments
This commit is contained in:
parent
bb0543ef47
commit
5ab3ed7a9a
|
|
@ -116,9 +116,6 @@ def instrument_classes(instrumentation)
|
|||
|
||||
# Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/30224#note_32306159
|
||||
instrumentation.instrument_instance_method(MergeRequestDiff, :load_commits)
|
||||
|
||||
# Needed for https://gitlab.com/gitlab-org/gitlab-ce/issues/36061
|
||||
instrumentation.instrument_instance_method(MergeRequest, :fetch_ref!)
|
||||
end
|
||||
# rubocop:enable Metrics/AbcSize
|
||||
|
||||
|
|
|
|||
|
|
@ -1756,7 +1756,7 @@ describe MergeRequest do
|
|||
end
|
||||
|
||||
describe '#fetch_ref!' do
|
||||
it 'fetch the ref correctly' do
|
||||
it 'fetches the ref correctly' do
|
||||
expect { subject.target_project.repository.delete_refs(subject.ref_path) }.not_to raise_error
|
||||
|
||||
subject.fetch_ref!
|
||||
|
|
|
|||
Loading…
Reference in New Issue