Sha256: f449dcf5635ac17ce5c059a7ebcc899561bbd7eb20b5a22cf3dbe3fbc82f1b51
Contents?: true
Size: 467 Bytes
Versions: 10
Compression:
Stored size: 467 Bytes
Contents
require "spec_helper" describe Kitabu::Cli do context "while running export" do it "exits with status 1 when an invalid --only option is provided" do expect { capture(:stderr){ Kitabu::Cli.start(["export", "--only=invalid"]) } }.to exit_with_code(1) end it "exits with status 1 when no config file is found" do expect { capture(:stderr){ Kitabu::Cli.start(["export"]) } }.to exit_with_code(1) end end end
Version data entries
10 entries across 10 versions & 1 rubygems