test/makeup/markup_test.rb in makeup-0.1.1 vs test/makeup/markup_test.rb in makeup-0.2.0

- old
+ new

@@ -87,6 +87,15 @@ content = "```cl\n(yup\n (yessir-p t))\n```" highlighted = @renderer.highlight_code_blocks("file.md", content) assert_match "\n <span class=\"p\">(</span>", highlighted end end + + describe "markups" do + it "provides a list of supported markups" do + markups = Makeup::Markup.markups + + assert Array === markups + assert(markups.find { |m| m[:suffix] == "*.md" }) + end + end end