Sha256: 96bdf0db9f80c245583e0916734978b3f23bca65402df15827599cf152f0372c

Contents?: true

Size: 471 Bytes

Versions: 5

Compression:

Stored size: 471 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

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

  before do
    Kitabu::Exporter::CSS.export(root)
  end

  it "generates css files" do
    expect(root.join("output/styles/epub.css")).to be_file
    expect(root.join("output/styles/pdf.css")).to be_file
    expect(root.join("output/styles/print.css")).to be_file
    expect(root.join("output/styles/html.css")).to be_file
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

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