test/test_parser.rb in sanitize-5.1.0 vs test/test_parser.rb in sanitize-5.2.0
- old
+ new
@@ -53,10 +53,10 @@
env[:node].add_next_sibling('<b id="added_' + env[:node]['id'] + '">')
elsif name == 'b'
siblings << env[:node][:id]
end
- return {:node_whitelist => [env[:node]]}
+ return {:node_allowlist => [env[:node]]}
})
# All siblings should be traversed, and in the order added.
siblings.must_equal [
"added_one_one_one",