Sha256: 5a9f6f7197485644fa84fb855699bbc7b74f09db81cd88a448f8102b01535955
Contents?: true
Size: 435 Bytes
Versions: 2
Compression:
Stored size: 435 Bytes
Contents
require 'spec_helper' module Docxtor2 describe TemplateParser do include_context 'integration' do subject { TemplateParser.new(template) } it 'finds exact count of template files' do expected = Dir.chdir(template) { Dir[SEARCH_PATTERN]. delete_if { |file| File.directory?(file) }. length } expect { subject.parts.length == expected } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
docxtor2-0.0.9 | spec/docxtor2/template_parser_spec.rb |
docxtor2-0.1.0 | spec/docxtor2/template_parser_spec.rb |