spec/cli_spec.rb in softcover-0.9.23 vs spec/cli_spec.rb in softcover-1.0.beta1
- old
+ new
@@ -118,9 +118,15 @@
it "should generate the EPUB & MOBI" do
expect(path('ebooks/book.epub')).to exist
expect(path('ebooks/book.mobi')).to exist
end
end
+
+ context "command-line options" do
+ subject(:options) { `softcover help build:mobi` }
+ it { should_not include 'calibre' }
+ it { should include 'kindlegen' }
+ end
end
end
describe "PolyTeX books" do