Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Lopez <james@jameslopez.es>2016-02-12 20:21:01 +0300
committerJames Lopez <james@jameslopez.es>2016-02-12 20:21:01 +0300
commit99a50447a15abb49ae6a3225332f850af78744a9 (patch)
tree67523719918e19da99d9c6c6edddae2a1fefa5e4
parent4089be8fedbe0499108b32dc0c08b6378efc534c (diff)
fix rubocop warning
-rw-r--r--spec/services/system_note_service_spec.rb6
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