diff --git a/test/html5/test_scrub.rb b/test/html5/test_scrub.rb new file mode 100644 index 00000000..50bead9f --- /dev/null +++ b/test/html5/test_scrub.rb @@ -0,0 +1,10 @@ +require "helper" + +class UnitHTML5Scrub < Loofah::TestCase + include Loofah + + def test_scrub_css + assert Loofah::HTML5::Scrub.scrub_css("background: #ABC012"), "background: #ABC012" + assert Loofah::HTML5::Scrub.scrub_css("background: #abc012"), "background: #abc012" + end +end