From 71e625e02ce4ec02795e11710a3118a674b2e097 Mon Sep 17 00:00:00 2001 From: Eric Mill Date: Sun, 8 Dec 2013 22:56:29 -0500 Subject: [PATCH] current state --- test/test_tags.rb | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/test/test_tags.rb b/test/test_tags.rb index ec8f7124..f1fb9c4c 100644 --- a/test/test_tags.rb +++ b/test/test_tags.rb @@ -464,21 +464,21 @@ CONTENT } end -# context "with pygments enabled" do -# setup do -# @markdown = Converters::Markdown.new @config.merge({ 'pygments' => true }) -# end + context "with pygments enabled" do + setup do + @markdown = Converters::Markdown.new @config.merge({ 'pygments' => true }) + end -# should "render fenced code blocks with syntax highlighting" do -# assert_equal "
puts "Hello world"\n
", @markdown.convert( -# <<-EOS -# ```ruby -# puts "Hello world" -# ``` -# EOS -# ).strip -# end -# end + should "render fenced code blocks with syntax highlighting" do + assert_equal "
puts "Hello world"\n
", @markdown.convert( + <<-EOS +```ruby +puts "Hello world" +``` + EOS + ).strip + end + end context "with pygments disabled" do setup do