Skip to content

Commit

Permalink
Merge pull request #1135 from olleolleolle/fix/jruby-test-for-tables-…
Browse files Browse the repository at this point in the history
…support

Un-pend a spec since Kramdown::Document also supports tables
  • Loading branch information
lsegal committed Nov 17, 2017
2 parents c5f7a28 + bbc7772 commit dab964c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/templates/helpers/html_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dab964c

Please sign in to comment.