提交 99a50447 编写于 作者: J James Lopez

fix rubocop warning

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册