diff options
author | Gabriel Mazetto <gabriel@gitlab.com> | 2016-04-01 15:03:39 -0300 |
---|---|---|
committer | Gabriel Mazetto <gabriel@gitlab.com> | 2016-04-06 03:30:56 -0300 |
commit | 207b7218aa4394dc24c68041eade04474ff41537 (patch) | |
tree | 6f9cde70ccd9b0b5f757b868875bd01cdc141148 /spec/features/markdown_spec.rb | |
parent | 22055e10580ae93c2cb87956eefba0a06e9b50d0 (diff) | |
download | gitlab-ce-207b7218aa4394dc24c68041eade04474ff41537.tar.gz |
Ensure correct filter order to validate with our markdown specpatch/fix-markdown-preview-wikis
Diffstat (limited to 'spec/features/markdown_spec.rb')
-rw-r--r-- | spec/features/markdown_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/markdown_spec.rb b/spec/features/markdown_spec.rb index 5149ce9cf2f..3d0d0e59fd7 100644 --- a/spec/features/markdown_spec.rb +++ b/spec/features/markdown_spec.rb @@ -39,7 +39,7 @@ describe 'GitLab Markdown', feature: true do end def doc(html = @html) - Nokogiri::HTML::DocumentFragment.parse(html) + @doc ||= Nokogiri::HTML::DocumentFragment.parse(html) end # Shared behavior that all pipelines should exhibit |