Sha256: 71122e07cedf2cc834709c6cdd3ffb66d9bbb92846c091663257e3d6c4e77c23

Contents?: true

Size: 603 Bytes

Versions: 4

Compression:

Stored size: 603 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 LonoCfn::CLI do
  before(:all) do
    @args = "--noop --project-root spec/fixtures/my_project"
  end

  describe "lono-cfn" do
    it "creates stack" do
      out = execute("bin/lono-cfn create my-stack #{@args}")
      expect(out).to include("stack creating.")
    end

    it "updates stack" do
      out = execute("bin/lono-cfn update my-stack #{@args}")
      expect(out).to include("stack updating.")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
lono-cfn-0.0.5 spec/lib/cli_spec.rb
lono-cfn-0.0.4 spec/lib/cli_spec.rb
lono-cfn-0.0.3 spec/lib/cli_spec.rb
lono-cfn-0.0.2 spec/lib/cli_spec.rb