Sha256: 4caa6f8078142a2124af9909a26847998169be817def4f5c81381534901be50c

Contents?: true

Size: 293 Bytes

Versions: 9

Compression:

Stored size: 293 Bytes

Contents

require "spec_helper"

describe Kitabu::Parser::PDF do
  let(:root) { SPECDIR.join("support/mybook") }

  before do
    Kitabu::Parser::HTML.new(root).parse
    Kitabu::Parser::PDF.new(root).parse
  end

  it "generates pdf file" do
    root.join("output/mybook.pdf").should be_file
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kitabu-1.0.5 spec/kitabu/parser/pdf_spec.rb
kitabu-1.0.4 spec/kitabu/parser/pdf_spec.rb
kitabu-1.0.3 spec/kitabu/parser/pdf_spec.rb
kitabu-1.0.2 spec/kitabu/parser/pdf_spec.rb
kitabu-1.0.1 spec/kitabu/parser/pdf_spec.rb
kitabu-1.0.0 spec/kitabu/parser/pdf_spec.rb
kitabu-1.0.0.rc4 spec/kitabu/parser/pdf_spec.rb
kitabu-1.0.0.rc3 spec/kitabu/parser/pdf_spec.rb
kitabu-1.0.0.rc2 spec/kitabu/parser/pdf_spec.rb