fix rubocop warning

This commit is contained in:
James Lopez 2016-02-12 18:21:01 +01:00
parent 4089be8fed
commit 99a50447a1

View file

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