summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/highlight_spec.rb
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2017-05-16 15:25:57 -0500
committerDouwe Maan <douwe@selenight.nl>2017-05-23 15:34:42 -0500
commitaa24feed6fa0e24d1e78d38b3f26b4bd26b016b8 (patch)
tree796ceb99e907903284ada06d28e46f81a0fdf617 /spec/lib/gitlab/highlight_spec.rb
parent52527be4387cb978402a330f2e4de96e586a62db (diff)
downloadgitlab-ce-aa24feed6fa0e24d1e78d38b3f26b4bd26b016b8.tar.gz
Refactor DependencyLinker::BaseLinker
Diffstat (limited to 'spec/lib/gitlab/highlight_spec.rb')
-rw-r--r--spec/lib/gitlab/highlight_spec.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/lib/gitlab/highlight_spec.rb b/spec/lib/gitlab/highlight_spec.rb
index e57b3053871..a20cef3b000 100644
--- a/spec/lib/gitlab/highlight_spec.rb
+++ b/spec/lib/gitlab/highlight_spec.rb
@@ -59,8 +59,6 @@ describe Gitlab::Highlight, lib: true do
end
describe '#highlight' do
- subject { described_class.highlight(file_name, file_content, nowrap: false) }
-
it 'links dependencies via DependencyLinker' do
expect(Gitlab::DependencyLinker).to receive(:link).
with('file.name', 'Contents', anything).and_call_original