test/test_htmlutils.rb in review-1.0.0 vs test/test_htmlutils.rb in review-1.1.0
- old
+ new
@@ -19,6 +19,10 @@
else
assert_equal ch, escape_html(ch)
end
end
end
+
+ def test_strip_html
+ assert_equal 'thisistest.', strip_html('<h3>this<b>is</b>test</h3>.')
+ end
end