Sha256: fdc824e15ebee8a0ad768aac3114a5409504c2ef28d0710b85c9d50b3d5d1f5c
Contents?: true
Size: 575 Bytes
Versions: 31
Compression:
Stored size: 575 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe CfnDsl::CloudFormationTemplate do subject(:template) { described_class.new } describe '#KMS_Alias' do it 'supports AliasName property' do template.KMS_Alias(:Test) do AliasName 'test-key' end expect(template.to_json).to include('"AliasName":"test-key"') end it 'supports TargetKeyId property' do template.KMS_Alias(:Test) do TargetKeyId 'kms-key-123' end expect(template.to_json).to include('"TargetKeyId":"kms-key-123"') end end end
Version data entries
31 entries across 31 versions & 1 rubygems