Sha256: 796afb0716347cbdb908bbf3f3abd6114cb590a2cae0b6d515ca0cdece0c3817
Contents?: true
Size: 520 Bytes
Versions: 1
Compression:
Stored size: 520 Bytes
Contents
require_relative "spec_helper" include CliTester describe "Command line interface" do describe "shows error" do it "when command does not exist" do expect(run_command(args: ["abc"])).to exit_with_success("", /abc/) end it "when global option does not exist" do expect(run_command(args: ["--abc"])).to exit_with_success("", /--abc/) end it "when command option does not exist" do expect(run_command(args: ["list", "--abc"])).to exit_with_success("", /--abc/) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
inqlude-0.7.1 | spec/integration/cli_general_spec.rb |