Sha256: 66eb4bf27d4c32aa5842bd3f25ed2a51224ec5c7bab16b251f2f67d41abdf3d5

Contents?: true

Size: 316 Bytes

Versions: 31

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'

describe 'Transform' do
  let(:template) { CfnDsl::OrchestrationTemplate.new }

  it 'is settable for a template' do
    template.Transform('AWS::Serverless-2016-10-31')
    expect(template.to_json).to match(/"Transform":"AWS::Serverless-2016-10-31"/)
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
cfndsl-1.7.2 spec/transform_spec.rb
cfndsl-1.6.0 spec/transform_spec.rb
cfndsl-1.5.0 spec/transform_spec.rb
cfndsl-1.4.0 spec/transform_spec.rb
cfndsl-1.3.9 spec/transform_spec.rb
cfndsl-1.3.8 spec/transform_spec.rb
cfndsl-1.3.7 spec/transform_spec.rb
cfndsl-1.3.6 spec/transform_spec.rb
cfndsl-1.3.5 spec/transform_spec.rb
cfndsl-1.3.4 spec/transform_spec.rb
cfndsl-1.3.3 spec/transform_spec.rb
cfndsl-1.3.2 spec/transform_spec.rb
cfndsl-1.3.1 spec/transform_spec.rb
cfndsl-1.3.0 spec/transform_spec.rb
cfndsl-1.2.0 spec/transform_spec.rb
cfndsl-1.1.1 spec/transform_spec.rb
cfndsl-1.1.0 spec/transform_spec.rb
cfndsl-1.0.6 spec/transform_spec.rb
cfndsl-1.0.5 spec/transform_spec.rb
cfndsl-1.0.4 spec/transform_spec.rb