Sha256: 4e9903e88fa4a48450b435609726bb8492119df2b03d986344a978b879e09086
Contents?: true
Size: 557 Bytes
Versions: 9
Compression:
Stored size: 557 Bytes
Contents
require_relative "spec_helper" include CliTester describe "Command line interface" do describe "help" do it "shows general help" do result = run_command expect(result.exit_code).to eq(0) expect(result.stdout).to match(/Commands:/) expect(result.stderr.empty?).to be(true) end it "shows help for command" do result = run_command(args: ["help", "list"]) expect(result.exit_code).to eq(0) expect(result.stdout).to match("inqlude list") expect(result.stderr.empty?).to be(true) end end end
Version data entries
9 entries across 9 versions & 1 rubygems