From 9fc53864dddbab851006bede37a247ea498925d2 Mon Sep 17 00:00:00 2001 From: "http://jneen.net/" Date: Thu, 16 Jun 2016 11:52:40 -0700 Subject: [PATCH] appease rubocop --- spec/lib/gitlab/highlight_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/lib/gitlab/highlight_spec.rb b/spec/lib/gitlab/highlight_spec.rb index 89e4888e1c9..c84911e8f0b 100644 --- a/spec/lib/gitlab/highlight_spec.rb +++ b/spec/lib/gitlab/highlight_spec.rb @@ -24,9 +24,9 @@ describe Gitlab::Highlight, lib: true do let(:path) { 'custom-highlighting/test.gitlab-custom' } let(:blob) { repository.blob_at_branch(branch, path) } - let(:highlighter) { + let(:highlighter) do Gitlab::Highlight.new(blob.path, blob.data, repository: repository) - } + end before { project.change_head('gitattributes') }