Sha256: e380126375750fc82c3d88cd3b32534ff29f79e7039582cc201a44d603f2404f

Contents?: true

Size: 375 Bytes

Versions: 3

Compression:

Stored size: 375 Bytes

Contents

require "spec_helper"

describe AwsInventory::CLI do
  before(:all) do
    @args = ""
  end

  %w[
    acm
    cfn
    cw
    eb
    ec2
    ecs
    elb
    help
    iam
    keypair
    rds
    route53
    sg
    vpc
  ].each do |command|
    it command do
      out = execute("exe/aws-inventory #{command} #{@args}")
      expect(out).to include("report")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aws-inventory-0.4.5 spec/lib/cli_spec.rb
aws-inventory-0.4.3 spec/lib/cli_spec.rb
aws-inventory-0.4.2 spec/lib/cli_spec.rb