Sha256: af8aa21354f0fcaa1da244bb376c13f88c6bb958f1b4de6902589cb1a8af9b32

Contents?: true

Size: 592 Bytes

Versions: 6

Compression:

Stored size: 592 Bytes

Contents

require_relative "../spec_helper"

describe Lono do
  describe "lono" do
    before(:each) do
      @args = "--project-root spec/fixtures/my_project"
    end

    it "generate should build templates" do
      out = execute("./bin/lono generate #{@args}")
      expect(out).to match /Generating both CloudFormation template and parameter/
    end

    it "import should download template" do
      out = execute("./bin/lono import spec/fixtures/raw_templates/aws-waf-security-automations.template #{@args}")
      expect(out).to match /Imported raw CloudFormation template/
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lono-3.3.2 spec/lib/lono_spec.rb
lono-3.3.0 spec/lib/lono_spec.rb
lono-3.2.1 spec/lib/lono_spec.rb
lono-3.2.0 spec/lib/lono_spec.rb
lono-3.1.3 spec/lib/lono_spec.rb
lono-3.1.2 spec/lib/lono_spec.rb