Commit 99a50447 authored by James Lopez's avatar James Lopez

fix rubocop warning

parent 4089be8f
......@@ -431,8 +431,10 @@ describe SystemNoteService, services: true do
let(:commit2) { forked_project.commit }
before do
allow(commit0).to receive(:to_reference) { noteable.project.to_reference +
commit0.class.reference_prefix + commit0.id}
allow(commit0).to receive(:to_reference) {
noteable.project.to_reference +
commit0.class.reference_prefix + commit0.id
}
described_class.cross_reference(noteable, commit0, author2)
end
......
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