test/test_helper.rb in jekyll-toc-0.14.0 vs test/test_helper.rb in jekyll-toc-0.15.0.rc
- old
+ new
@@ -18,9 +18,9 @@
<h5>Simple H5</h5>
<h6>Simple H6</h6>
HTML
module TestHelpers
- def read_html_and_create_parser
- @parser = Jekyll::TableOfContents::Parser.new(SIMPLE_HTML)
+ def read_html_and_create_parser(options = {})
+ @parser = Jekyll::TableOfContents::Parser.new(SIMPLE_HTML, options)
end
end