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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2019-12-22 09:07:52 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2019-12-22 09:07:52 +0300
commit62fcb9ffa9e40db6f34e7dd0d36804d73ef01435 (patch)
tree6d741f0fd158cf05d1c9457e383bb50f41fbacb8 /spec/lib/banzai
parent73edea02d353e8ed503922650a35f4a4e93fffdf (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/lib/banzai')
-rw-r--r--spec/lib/banzai/pipeline/wiki_pipeline_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/banzai/pipeline/wiki_pipeline_spec.rb b/spec/lib/banzai/pipeline/wiki_pipeline_spec.rb
index e1814ea403e..8c009bc409b 100644
--- a/spec/lib/banzai/pipeline/wiki_pipeline_spec.rb
+++ b/spec/lib/banzai/pipeline/wiki_pipeline_spec.rb
@@ -230,7 +230,7 @@ describe Banzai::Pipeline::WikiPipeline do
]
invalid_slugs.each do |slug|
- context "with the invalid slug #{slug}" do
+ context "with the invalid slug #{slug.delete("\000")}" do
invalid_js_links.each do |link|
it "doesn't include a prohibited slug in a (.) relative link '#{link}'" do
output = described_class.to_html(