Skip to content

Commit f9c6d06

Browse files
author
Simeon F. Willbanks
committed
Move ActiveSupport::XmlMini_Nokogiri to test helper, since its mixed in #to_hash is only used by #assert_equal_html
1 parent f0983dc commit f9c6d06

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

lib/html/pipeline.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
require "nokogiri"
2-
require "active_support/xml_mini/nokogiri" # convert Documents to hashes
32

43
module HTML
54
# GitHub HTML processing filters and utilities. This module includes a small

test/test_helper.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
require "test/unit"
44

55
require "active_support/core_ext/object/try"
6+
require "active_support/xml_mini/nokogiri" # convert Documents to hashes
67

78
module TestHelpers
89
# Asserts that `needle` is not a member of `haystack`, where

0 commit comments

Comments
 (0)