Sha256: 86f75ad9cc5479a1e33d0d4c932807a77b3fa5013a2efd7ea638d9b9752c2230

Contents?: true

Size: 612 Bytes

Versions: 1

Compression:

Stored size: 612 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 /Importing Raw CloudFormation template and lono-ifying it/
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
lono-3.1.1 spec/lib/lono_spec.rb