Sha256: e20806b97228b5ba7bad283d006c4116a1bd4702a1c73d38fd01a46476ec344d

Contents?: true

Size: 414 Bytes

Versions: 4

Compression:

Stored size: 414 Bytes

Contents

# frozen_string_literal: true

require 'simplecov'
SimpleCov.start

require 'minitest/autorun'
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
    @parser = Jekyll::TableOfContents::Parser.new(SIMPLE_HTML)
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
jekyll-toc-0.10.0 test/test_helper.rb
jekyll-toc-0.9.1 test/test_helper.rb
jekyll-toc-0.9.0 test/test_helper.rb
jekyll-toc-0.9.0.beta2 test/test_helper.rb