summaryrefslogtreecommitdiff
path: root/spec/lib/gitlab/other_markup_spec.rb
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2017-05-02 14:52:19 +0000
committerBob Van Landuyt <bob@gitlab.com>2017-05-10 16:44:20 +0200
commit99996b6bc7c13e7e7f871919942907b380d4b58c (patch)
treec87b232ade284781ae96d2819636c639d584972b /spec/lib/gitlab/other_markup_spec.rb
parent9b03ed0a182c9ad96957085826cc85f8f229569c (diff)
downloadgitlab-ce-99996b6bc7c13e7e7f871919942907b380d4b58c.tar.gz
Merge branch 'bvl-security-9-1-markup-pipeline'
(security-9-1) Render asciidoc & other markup using banzai in a pipeline See merge request !2098
Diffstat (limited to 'spec/lib/gitlab/other_markup_spec.rb')
-rw-r--r--spec/lib/gitlab/other_markup_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/gitlab/other_markup_spec.rb b/spec/lib/gitlab/other_markup_spec.rb
index d6d53e8586c..c0f5fa9dc1f 100644
--- a/spec/lib/gitlab/other_markup_spec.rb
+++ b/spec/lib/gitlab/other_markup_spec.rb
@@ -13,7 +13,7 @@ describe Gitlab::OtherMarkup, lib: true do
}
links.each do |name, data|
it "does not convert dangerous #{name} into HTML" do
- expect(render(data[:file], data[:input])).to eq(data[:output])
+ expect(render(data[:file], data[:input], context)).to eq(data[:output])
end
end
end