spec/cli_spec.rb in softcover-1.1.6 vs spec/cli_spec.rb in softcover-1.1.7

- old
+ new

@@ -31,9 +31,23 @@ it { should include '-d, [--debug]' } it { should include '-o, [--once]' } it { should include 'f, [--find-overfull]' } end + context "softcover build:epub options" do + subject { `softcover help build:epub` } + it { should include '-q, [--quiet]' } + it { should include '-s, [--silent]' } + end + + context "softcover build:mobi options" do + subject { `softcover help build:mobi` } + it { should include '-q, [--quiet]' } + it { should include '-s, [--silent]' } + it { should include '-k, [--kindlegen]' } + it { should include '-a, [--amazon]' } + end + context "softcover new options" do subject { `softcover help new` } it { should include '-p, [--polytex]' } it { should include '-a, [--article]' } end