Sha256: 4865c76f8cf2f08205c409b7b265ec8e9ea28f1661256599c8e36d9bb12a3ffb

Contents?: true

Size: 328 Bytes

Versions: 5

Compression:

Stored size: 328 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

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

  before do
    Kitabu::Exporter::HTML.export(root)
    Kitabu::Exporter::Epub.export(root)
  end

  it "generates e-pub" do
    expect(root.join("output/mybook.epub")).to be_file
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kitabu-3.1.0 spec/kitabu/exporter/epub_spec.rb
kitabu-3.0.3 spec/kitabu/exporter/epub_spec.rb
kitabu-3.0.2 spec/kitabu/exporter/epub_spec.rb
kitabu-3.0.1 spec/kitabu/exporter/epub_spec.rb
kitabu-3.0.0 spec/kitabu/exporter/epub_spec.rb