Sha256: bee5fabd06af95b98661b533af7d0bdfae2d6e3d6404a4e586004da905ea968d

Contents?: true

Size: 390 Bytes

Versions: 8

Compression:

Stored size: 390 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>
HTML

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
jekyll-toc-0.6.0 test/test_helper.rb
jekyll-toc-0.5.2 test/test_helper.rb
jekyll-toc-0.5.1 test/test_helper.rb
jekyll-toc-0.5.0 test/test_helper.rb
jekyll-toc-0.5.0.rc test/test_helper.rb
jekyll-toc-0.4.0 test/test_helper.rb
jekyll-toc-0.4.0.rc2 test/test_helper.rb
jekyll-toc-0.4.0.rc test/test_helper.rb