Sha256: 5c0e74e5975399baaa50d9bc1bc00d1b8ca4b2567435058eb940408fff59fbaa

Contents?: true

Size: 426 Bytes

Versions: 1

Compression:

Stored size: 426 Bytes

Contents

require 'simplecov'
SimpleCov.start

require 'minitest/autorun'
require 'jekyll'
require 'jekyll-toc'

SIMPLE_HTML = <<-HTML.freeze
  <h1>Simple H1</h1>
  <h2>Simple H2</h2>
  <h3>Simple H3</h3>
  <h4>Simple H4</h4>
  <h5>Simple H5</h5>
  <h6>Simple H6</h6>
  <h1 class="no_toc">No-toc H1</h1>
HTML

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-toc-0.7.0.alpha1 test/test_helper.rb