Sha256: 31ba4f6e9da71379a2ee584d6e914c0ed8247e08411c191137b44202174015a3

Contents?: true

Size: 492 Bytes

Versions: 6

Compression:

Stored size: 492 Bytes

Contents

# frozen_string_literal: true

require 'simplecov'
SimpleCov.start

require 'minitest/autorun'
require 'minitest/reporters'
Minitest::Reporters.use!

require 'jekyll'
require 'jekyll-toc'

SIMPLE_HTML = <<~HTML
  <h1>Simple H1</h1>
  <h2>Simple H2</h2>
  <h3>Simple H3</h3>
  <h4>Simple H4</h4>
  <h5>Simple H5</h5>
  <h6>Simple H6</h6>
HTML

module TestHelpers
  def read_html_and_create_parser(options = {})
    @parser = Jekyll::TableOfContents::Parser.new(SIMPLE_HTML, options)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jekyll-toc-0.17.1 test/test_helper.rb
jekyll-toc-0.17.0 test/test_helper.rb
jekyll-toc-0.16.1 test/test_helper.rb
jekyll-toc-0.16.0 test/test_helper.rb
jekyll-toc-0.15.0 test/test_helper.rb
jekyll-toc-0.15.0.rc test/test_helper.rb