1 require File.dirname(__FILE__) + '/../test_helper'
3 class SmartyPantsFilterTest < Test::Unit::TestCase
6 assert_equal 'SmartyPants', SmartyPantsFilter.filter_name
10 assert_equal "<h1 class=\"headline\">Radiant’s “filters” rock!</h1>",
11 SmartyPantsFilter.filter("<h1 class=\"headline\">Radiant's \"filters\" rock!</h1>")