fix rubocop warning
This commit is contained in:
parent
4089be8fed
commit
99a50447a1
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue