diff options
author | James Lopez <james@jameslopez.es> | 2016-02-12 18:21:01 +0100 |
---|---|---|
committer | James Lopez <james@jameslopez.es> | 2016-02-12 18:21:01 +0100 |
commit | 99a50447a15abb49ae6a3225332f850af78744a9 (patch) | |
tree | 67523719918e19da99d9c6c6edddae2a1fefa5e4 /spec | |
parent | 4089be8fedbe0499108b32dc0c08b6378efc534c (diff) | |
download | gitlab-ce-99a50447a15abb49ae6a3225332f850af78744a9.tar.gz |
fix rubocop warning
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/system_note_service_spec.rb | 6 |
1 files 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 |