Sha256: 8b25636e73fb75cdb15b54c6b32511ee652799705daa976f08117a8307eade5c
Contents?: true
Size: 516 Bytes
Versions: 5
Compression:
Stored size: 516 Bytes
Contents
# frozen_string_literal: true 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(lambda { 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(lambda { capture(:stderr) { Kitabu::Cli.start(["export"]) } }).to exit_with_code(1) end end end
Version data entries
5 entries across 5 versions & 1 rubygems