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:
authorhttp://jneen.net/ <jneen@jneen.net>2016-06-16 21:52:40 +0300
committerhttp://jneen.net/ <jneen@jneen.net>2016-06-28 00:17:49 +0300
commit9fc53864dddbab851006bede37a247ea498925d2 (patch)
tree95b22c9ac770564f2cfae8862d9802ffad9b3b18 /spec/lib/gitlab/highlight_spec.rb
parent5415c674241d8c73d7a2cf3c52d2cc1158ae5134 (diff)
appease rubocop
Diffstat (limited to 'spec/lib/gitlab/highlight_spec.rb')
-rw-r--r--spec/lib/gitlab/highlight_spec.rb4
1 files 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') }