Sha256: a1658f2b8c3b99ab4188ab623473571ed0c484b819b76cdeeb5fda3c54793ca2
Contents?: true
Size: 411 Bytes
Versions: 34
Compression:
Stored size: 411 Bytes
Contents
require File.dirname(__FILE__) + '/../test_helper' class SmartyPantsFilterTest < Test::Unit::TestCase def test_filter_name assert_equal 'SmartyPants', SmartyPantsFilter.filter_name end def test_filter assert_equal "<h1 class=\"headline\">Radiant’s “filters” rock!</h1>", SmartyPantsFilter.filter("<h1 class=\"headline\">Radiant's \"filters\" rock!</h1>") end end
Version data entries
34 entries across 34 versions & 4 rubygems