Sha256: d6cac782fc7cb8c54da2dbc93943a9981e78ecb557bff7be01b68c1f831c0b6f

Contents?: true

Size: 440 Bytes

Versions: 5

Compression:

Stored size: 440 Bytes

Contents

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-2.1.0 spec/kitabu/exporter/css_spec.rb
kitabu-2.0.4 spec/kitabu/exporter/css_spec.rb
kitabu-2.0.3 spec/kitabu/exporter/css_spec.rb
kitabu-2.0.2 spec/kitabu/exporter/css_spec.rb
kitabu-2.0.1 spec/kitabu/exporter/css_spec.rb