Sha256: 44a54e9634a60202793ee031e26c7d2b96b4d1fbe1cec52c5e87e5409e9143f2

Contents?: true

Size: 330 Bytes

Versions: 1

Compression:

Stored size: 330 Bytes

Contents

require "spec_helper"

describe Kitabu::Parser::Mobi, kindlegen: Kitabu::Dependency.kindlegen? do
  let(:root) { SPECDIR.join("support/mybook") }

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

  it "generates mobi" do
    expect(root.join("output/mybook.mobi")).to be_file
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
kitabu-2.0.0 spec/kitabu/parser/mobi_spec.rb