# File lib/maruku/tests/tests.rb, line 32 def Maruku.metaTests ref = {:id => 'id1', :class => ['class1','class2'], :style=> 'Style is : important = for all } things'} tests = MetaTests.split('***') for test in tests #puts "Test: #{test.inspect}" doc = Maruku.new(test) doc.children.size == 1 || failed(test, doc, "children != 1") h = doc.children[0] h.node_type==:header || failed(test, doc, "child not header") # puts doc.inspect # puts doc.to_html end end