appease rubocop
This commit is contained in:
parent
5415c67424
commit
9fc53864dd
1 changed files with 2 additions and 2 deletions
|
@ -24,9 +24,9 @@ describe Gitlab::Highlight, lib: true do
|
||||||
let(:path) { 'custom-highlighting/test.gitlab-custom' }
|
let(:path) { 'custom-highlighting/test.gitlab-custom' }
|
||||||
let(:blob) { repository.blob_at_branch(branch, path) }
|
let(:blob) { repository.blob_at_branch(branch, path) }
|
||||||
|
|
||||||
let(:highlighter) {
|
let(:highlighter) do
|
||||||
Gitlab::Highlight.new(blob.path, blob.data, repository: repository)
|
Gitlab::Highlight.new(blob.path, blob.data, repository: repository)
|
||||||
}
|
end
|
||||||
|
|
||||||
before { project.change_head('gitattributes') }
|
before { project.change_head('gitattributes') }
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue