diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-08-12 22:45:16 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-08-12 23:32:16 -0400 |
commit | 907860ed3d6f1a9865026b3028c48c69b1b591ee (patch) | |
tree | d444d70b0797c8a962e337bfd715758102fb9744 /spec | |
parent | 7d1c06793eb2e2bdf625198be98c0bc10d8164cc (diff) | |
download | gitlab-ce-907860ed3d6f1a9865026b3028c48c69b1b591ee.tar.gz |
Remove the `gfm_with_options` helperrs-remove-gfm_with_options
It was redundant because `gfm` also took options.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/markdown_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/markdown_spec.rb b/spec/features/markdown_spec.rb index 859a62f740f..3da4dfc2b23 100644 --- a/spec/features/markdown_spec.rb +++ b/spec/features/markdown_spec.rb @@ -15,7 +15,7 @@ require 'erb' # -> `markdown` helper # -> Redcarpet::Render::GitlabHTML converts Markdown to HTML # -> Post-process HTML -# -> `gfm_with_options` helper +# -> `gfm` helper # -> HTML::Pipeline # -> SanitizationFilter # -> Other filters, depending on pipeline @@ -179,7 +179,7 @@ describe 'GitLab Markdown', feature: true do before(:all) do @feat = MarkdownFeature.new - # `gfm_with_options` depends on a `@project` variable + # `gfm` helper depends on a `@project` variable @project = @feat.project @html = markdown(@feat.raw_markdown) |