Sha256: b8e0705d17aadb62139bf2602fb09cc76ed9eb75082aeb2b6831d6a6673bc5a0
Contents?: true
Size: 587 Bytes
Versions: 133
Compression:
Stored size: 587 Bytes
Contents
require 'spec_helper' describe Softcover::Builders::Preview do before(:all) do generate_book @builder = Softcover::Builders::Preview.new @builder.build! chdir_to_book end after(:all) { remove_book } describe "#build!" do it "should build a PDF" do expect('ebooks/book-preview.pdf').to exist end context "EPUB & MOBI books" do it "should build an EPUB" do expect('ebooks/book-preview.epub').to exist end it "should build an EPUB" do expect('ebooks/book-preview.mobi').to exist end end end end
Version data entries
133 entries across 133 versions & 2 rubygems