From 99a50447a15abb49ae6a3225332f850af78744a9 Mon Sep 17 00:00:00 2001 From: James Lopez Date: Fri, 12 Feb 2016 18:21:01 +0100 Subject: [PATCH] fix rubocop warning --- spec/services/system_note_service_spec.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/spec/services/system_note_service_spec.rb b/spec/services/system_note_service_spec.rb index 0c063fcb959..9b9732ea01f 100644 --- a/spec/services/system_note_service_spec.rb +++ b/spec/services/system_note_service_spec.rb @@ -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