textilize_without_paragraph("*This is Textile!* Rejoice!").html_safe?
end
deftest_textilize_without_paragraph
assert_equal("<strong>This is Textile!</strong> Rejoice!",textilize_without_paragraph("*This is Textile!* Rejoice!"))
end
deftest_textilize_without_paragraph_with_blank
assert_equal("",textilize_without_paragraph(""))
end
deftest_textilize_without_paragraph_with_options
assert_equal("This is worded <strong>strongly</strong>",textilize_without_paragraph("This is worded <strong>strongly</strong>",:filter_html))
assert_equal("This is worded <strong>strongly</strong><script>code!</script>",textilize_without_paragraph("This is worded <strong>strongly</strong><script>code!</script>",:safe))
assert_equal("This is worded <strong>strongly</strong><script>code!</script>",textilize_without_paragraph("This is worded <strong>strongly</strong><script>code!</script>".html_safe))