From bbc777279b6823668c110a89ce7505e3947efaa3 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Sun, 12 Nov 2017 12:14:41 +0100 Subject: [PATCH] Unpend Kramdown::Document tables spec --- spec/templates/helpers/html_helper_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/templates/helpers/html_helper_spec.rb b/spec/templates/helpers/html_helper_spec.rb index 3dd09b697..7516ba7b2 100644 --- a/spec/templates/helpers/html_helper_spec.rb +++ b/spec/templates/helpers/html_helper_spec.rb @@ -184,7 +184,8 @@ def options it "creates tables (markdown specific)" do log.enter_level(Logger::FATAL) do - unless markup_class(:markdown).to_s == "RedcarpetCompat" + supports_table = %w(RedcarpetCompat Kramdown::Document) + unless supports_table.include?(markup_class(:markdown).to_s) pending "This test depends on a markdown engine that supports tables" end end