Sha256: 21b0bc98c153439da74924cfdacc44d3a86dd53437781435c7ef025c72acf081

Contents?: true

Size: 491 Bytes

Versions: 2

Compression:

Stored size: 491 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[
    cfn
    ec2
    vpc
    sg
    rds
    route53
    acm
    elb
    eb
    ecs
    keypair
  ].each do |command|
    it command do
      out = execute("exe/inventory #{command} #{@args}")
      expect(out).to include("report")
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aws-inventory-0.2.1 spec/lib/cli_spec.rb
aws-inventory-0.2.0 spec/lib/cli_spec.rb