Sha256: 1dc64ebee870c72ed7e3bacfcb9ea7e7021841cb4ce99482bd6f6fb6d6d430e5

Contents?: true

Size: 634 Bytes

Versions: 4

Compression:

Stored size: 634 Bytes

Contents

# <div>
#   <h1>Title</h1>
#   
#     <h2>Sub title1</h2>
#     <p>Lorem Ipsum</p>
#   
#       <h3>Sub Sub Title1</h3>
#       <p>Lorem Ipsum</p>
# 
#       <h3>Sub Sub Title2</h3>
#       <p>Lorem Ipsum</p>
# 
#       <h3>Sub Sub Title3</h3>
#       <p>Lorem Ipsum</p>
# 
#   
#     <h2>Sub title2</h2>
#     <p>Lorem Ipsum</p>
# 
#     <h2>Sub title3</h2>
#     <p>Lorem Ipsum</p>
#   
#     <h2>Sub title4</h2>
#     <p>Lorem Ipsum</p>
# </div>

require "spec_helper"
require "nokogiri"

describe Nanoc::Toolbox::Filters::AddSections do
  before(:each) do
    @filter = described_class.new
  end
  
  describe ".run" do

  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nanoc-toolbox-0.0.7 spec/filters/add_sections_spec.rb
nanoc-toolbox-0.0.6 spec/filters/add_sections_spec.rb
nanoc-toolbox-0.0.5 spec/filters/add_sections_spec.rb
nanoc-toolbox-0.0.4 spec/filters/add_sections_spec.rb