Sha256: 76d0ace30e328494899a25e9043f268990bd5c173f896f1a87424eff0748fd5a
Contents?: true
Size: 476 Bytes
Versions: 34
Compression:
Stored size: 476 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class MarkdownFilterTest < Test::Unit::TestCase def test_filter_name assert_equal 'Markdown', MarkdownFilter.filter_name end def test_filter assert_equal '<p><strong>strong</strong></p>', MarkdownFilter.filter('**strong**') end def test_filter_with_quotes assert_equal "<h1>Radiant’s “filters” rock!</h1>", MarkdownFilter.filter("# Radiant's \"filters\" rock!") end end
Version data entries
34 entries across 34 versions & 4 rubygems