Sha256: 2ca176b56289b342291fb31b5f26d348f00fcf9316c2a26a7c45197e4a36114b

Contents?: true

Size: 428 Bytes

Versions: 2

Compression:

Stored size: 428 Bytes

Contents

require 'spec_helper'

module Docxtor2
  describe Package::Document::TableOfContents do
		include_context 'xmlbuilder' do

      subject { render(Package::Document::TableOfContents, 'Contents') }

      it 'contains gallery of document parts' do
        subject.should contain_gallery_of_document_parts
      end

      it 'contains heading text' do
        subject.should contain_sdt_content_heading
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
docxtor2-0.0.9 spec/docxtor2/package/document/table_of_contents_spec.rb
docxtor2-0.1.0 spec/docxtor2/package/document/table_of_contents_spec.rb