Commit 5ab3ed7a authored by micael.bergeron's avatar micael.bergeron

align with the comments

parent bb0543ef
......@@ -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!
......
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