Sha256: b225448f35353196ef65face18602e1d47f1f025b8eb30b81adfad9c263fec2a

Contents?: true

Size: 674 Bytes

Versions: 1

Compression:

Stored size: 674 Bytes

Contents

require 'spec_helper'
require 'leeroy'
require 'leeroy/task'
require 'leeroy/task/packer'
require 'leeroy/helpers/aws'
require 'leeroy/helpers/inventory'

describe "Test Leeroy::Types::Packer New" do
  before(:each) do
    @packer = Leeroy::Types::Packer.new
  end
  it "get instance of Leeroy::Types::Packer" do
    expect(@packer).to be_instance_of(Leeroy::Types::Packer)
  end
  # Test that perform validates packer template syntax

  it "Check that ::Types::Packer initialized correctly" do
    expect(@packer.packer_vars).to include(:aws_linux_ami, :app_name, :aws_region, :packer_template_prefix)
  end
  #{"packer_vars"=>[:aws_linux_ami, :app_name, :aws_region]}
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
leeroy_app-0.5.4 spec/types/packer_spec.rb