Sha256: 20113dde6d8aaa0c8eb4ecf4557a36030888ed1422805e3723f20b49e6f5ed83
Contents?: true
Size: 551 Bytes
Versions: 10
Compression:
Stored size: 551 Bytes
Contents
require 'spec_helper' require 'engineyard/cli' describe EY::CLI do it "provides help" do out = capture_stdout do EY::CLI.start(["help"]) end expect(out).to include("ey deploy") expect(out).to include("ey ssh") expect(out).to include("ey web enable") end it "delegates help" do out = capture_stdout do EY::CLI.start(%w[help web enable]) end expect(out).to match(/remove the maintenance page/i) end it "provides error classes" do expect(EY::DeployArgumentError).to be end end # EY::CLI
Version data entries
10 entries across 10 versions & 2 rubygems