Sha256: 7864078e92a1228229c5e2118b6747630cc809a39b64fc0a88f68ed75946b467
Contents?: true
Size: 651 Bytes
Versions: 68
Compression:
Stored size: 651 Bytes
Contents
require 'spec_helper' class Convection::Model::Template::Resource describe Lambda do let(:template) do Convection.template do description 'Logroups Test Template' resource 'testgroup' do type 'AWS::Logs::LogGroup' property 'RetentionInDays', 365 end end end subject do template_json end it 'template is defined' do expect(subject).to_not eq(nil) end it 'resource values are properly set' do expect(subject['Resources']).to have_key('testgroup') end private def template_json JSON.parse(template.to_json) end end end
Version data entries
68 entries across 68 versions & 1 rubygems