align with the comments

This commit is contained in:
micael.bergeron 2017-11-06 09:23:41 -05:00
parent bb0543ef47
commit 5ab3ed7a9a
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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!