FIX: remove Nokogumbo references (#13951)
Specs broken after f4720205c0
This commit is contained in:
parent
4c041eb9f5
commit
354c939656
|
@ -1,6 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require "nokogumbo"
|
||||
require "securerandom"
|
||||
|
||||
class HtmlToMarkdown
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue