FIX: remove Nokogumbo references (#13951)

Specs broken after f4720205c0
This commit is contained in:
Krzysztof Kotlarek 2021-08-05 11:46:25 +10:00 committed by GitHub
parent 4c041eb9f5
commit 354c939656
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -1,6 +1,5 @@
# frozen_string_literal: true
require "nokogumbo"
require "securerandom"
class HtmlToMarkdown

View File

@ -145,7 +145,7 @@ describe SearchIndexer do
end
it 'should work with invalid HTML' do
post.update!(cooked: "<FD>" * Nokogumbo::DEFAULT_MAX_TREE_DEPTH)
post.update!(cooked: "<FD>" * Nokogiri::Gumbo::DEFAULT_MAX_TREE_DEPTH)
SearchIndexer.update_posts_index(
post_id: post.id,