Skip to content
Snippets Groups Projects
Commit 5ab3ed7a authored by micael.bergeron's avatar micael.bergeron
Browse files

align with the comments

parent bb0543ef
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
 
Loading
Loading
Loading
Loading
@@ -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
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment