Sha256: 475bea580461408de212d9c5b78c8db60892e5888f8ae1ff4b49981d1b36fb9d
Contents?: true
Size: 685 Bytes
Versions: 2
Compression:
Stored size: 685 Bytes
Contents
require 'spec_helper' require 'pec2' describe Pec2::CLI do before do ENV['AWS_REGION'] = 'us-east-1' end it "should stdout sample" do output = capture_stdout do Pec2::CLI.start(['help']) end expect(output).not_to eq(nil) end it "include" do output = capture_stdout do Pec2::CLI.start(['help', 'run_command']) end expect(output).to include('--command') expect(output).to include('--sudo-password') expect(output).to include('--tag') expect(output).to include('--user') expect(output).to include('--log') expect(output).to include('--parallel') expect(output).to include('--print') end after do end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pec2-0.5.1 | spec/cli_spec.rb |
pec2-0.5.0 | spec/cli_spec.rb |