We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7e3ac6 commit 6aade3fCopy full SHA for 6aade3f
test/test_helper.rb
@@ -79,8 +79,8 @@ def assert_equivalent_html(expected, actual)
79
assert equivalent, lambda {
80
# using a lambda because diffing is expensive
81
Diffy::Diff.new(
82
- expected_html.to_html(indent: 2),
83
- actual_html.to_html(indent: 2)
+ HtmlBeautifier.beautify(expected_html.to_html(indent: 2)),
+ HtmlBeautifier.beautify(actual_html.to_html(indent: 2))
84
).to_s(:color)
85
}
86
end
0 commit comments