Sha256: c0bd10d062ba3d8b92cdcc0eed77c35cc6b7cd5b83f305511e0b8d347f40d6ad

Contents?: true

Size: 519 Bytes

Versions: 3

Compression:

Stored size: 519 Bytes

Contents

require "spec_helper"

# to run specs with what"s remembered from vcr
#   $ rake
#
# to run specs with new fresh data from aws api calls
#   $ rake clean:vcr ; time rake
describe Inventory::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.3.2 spec/lib/cli_spec.rb
aws-inventory-0.3.1 spec/lib/cli_spec.rb
aws-inventory-0.3.0 spec/lib/cli_spec.rb