Sha256: 86070212317b9d42824bac1e79af6f2e64691df704aca57d8a98eb5024028206
Contents?: true
Size: 420 Bytes
Versions: 31
Compression:
Stored size: 420 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe CfnDsl::OutputDefinition do let(:template) { CfnDsl::OrchestrationTemplate.new } context '#Export' do it 'formats correctly' do output = template.Output(:testOutput) do Value 'stuff' Export 'publishedValue' end expect(output.to_json).to eq('{"Value":"stuff","Export":{"Name":"publishedValue"}}') end end end
Version data entries
31 entries across 31 versions & 1 rubygems