Sha256: f3f2de78e8211522697899de29a9ea4bf3835ec84c5c5c637cf49b41a11e8445
Contents?: true
Size: 332 Bytes
Versions: 1
Compression:
Stored size: 332 Bytes
Contents
require "spec_helper" describe Kitabu::Parser::Txt, html2text: Kitabu::Dependency.html2text? do let(:root) { SPECDIR.join("support/mybook") } before do Kitabu::Parser::HTML.parse(root) Kitabu::Parser::Txt.parse(root) end it "generates text file" do expect(root.join("output/mybook.txt")).to be_file end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kitabu-2.0.0 | spec/kitabu/parser/txt_spec.rb |