Skip to content
Snippets Groups Projects
Commit 62fcb9ff authored by GitLab Bot's avatar GitLab Bot
Browse files

Add latest changes from gitlab-org/gitlab@master

parent 73edea02
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -35,6 +35,8 @@ def insert_data(path)
 
files.each do |filename|
puts "#{Time.now} Inserting #{filename}..."
# Strip file of NULL bytes to ensure data gets inserted
system("sed", "-i", "-e", "s/\\x00//g", filename)
result = RspecProfiling::Collectors::PSQL::Result.copy_from(filename)
puts "#{Time.now} Inserted #{result.cmd_tuples} lines in #{filename}, DB response: #{result.cmd_status}"
end
Loading
Loading
Loading
Loading
@@ -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(
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment