Bringing back the pygments test. All unit tests are back onboard now

This commit is contained in:
Nick Quaranto 2009-03-19 08:12:35 -04:00
parent ae4e7725bf
commit cce2b8f32c
1 changed files with 8 additions and 6 deletions

View File

@ -20,13 +20,15 @@ CONTENT
end end
should "render markdown with pygments line handling" do should "render markdown with pygments line handling" do
# FIXME should test for real stub(Jekyll).configuration do
#Jekyll.pygments = true Jekyll::DEFAULTS.merge({'pygments' => true})
#Jekyll.content_type = :markdown end
site = Site.new(Jekyll.configuration)
info = { :filters => [Jekyll::Filters], :registers => { :site => site } }
#result = Liquid::Template.parse(@content).render({}, [Jekyll::Filters]) result = Liquid::Template.parse(@content).render({}, info)
#result = Jekyll.markdown_proc.call(result) result = site.markdown(result)
#assert_no_match(/markdown\-html\-error/,result) assert_no_match(/markdown\-html\-error/,result)
end end
end end
end end