Sha256: b9ee4e475af7e4bc316e2f1c34a24968b5269e7a561e59d3dc590336be0139a1
Contents?: true
Size: 703 Bytes
Versions: 68
Compression:
Stored size: 703 Bytes
Contents
require 'spec_helper' class Convection::Model::Template::Resource describe ElastiCacheSecurityGroup do let(:elasticache_template) do Convection.template do description 'Elasticache Test Template' elasticache_security_group 'MyRedisSecGroup' do description 'Redis cache security group' end end end subject do template_json .fetch('Resources') .fetch('MyRedisSecGroup') .fetch('Properties') end it 'has a description' do expect(subject['Description']).to eq('Redis cache security group') end private def template_json JSON.parse(elasticache_template.to_json) end end end
Version data entries
68 entries across 68 versions & 1 rubygems