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
path: root/spec
diff options
context:
space:
mode:
authorStan Hu <stanhu@gmail.com>2015-09-11 00:21:14 +0300
committerStan Hu <stanhu@gmail.com>2015-09-11 00:24:10 +0300
commit267687993a437e0651eb5064c04479e65a43251f (patch)
treeaf67be0c81836856d3c810cc1f43687691f553b6 /spec
parentb2f3d024c3775f9d8dc293c433da103381ed6e45 (diff)
Add comments and clean up test for !1274
Diffstat (limited to 'spec')
-rw-r--r--spec/lib/gitlab/markdown/syntax_highlight_filter_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/lib/gitlab/markdown/syntax_highlight_filter_spec.rb b/spec/lib/gitlab/markdown/syntax_highlight_filter_spec.rb
index ecef31853f4..6a490673728 100644
--- a/spec/lib/gitlab/markdown/syntax_highlight_filter_spec.rb
+++ b/spec/lib/gitlab/markdown/syntax_highlight_filter_spec.rb
@@ -4,9 +4,6 @@ module Gitlab::Markdown
describe SyntaxHighlightFilter do
include FilterSpecHelper
- let(:project) { create(:empty_project) }
- let(:reference) { snippet.to_reference }
-
it 'highlights valid code blocks' do
result = filter('<pre><code>def fun end</code>')
expect(result.to_html).to eq("<pre class=\"code highlight js-syntax-highlight plaintext\"><code>def fun end</code></pre>\n")