require 'helper' class TestRdiscount < Test::Unit::TestCase context "rdiscount" do setup do config = { 'rdiscount' => { 'extensions' => ['smart'] }, 'markdown' => 'rdiscount' } @markdown = MarkdownConverter.new config end should "pass rdiscount extensions" do assert_equal "

“smart”

", @markdown.convert('"smart"').strip end end end