Sha256: d2eecc6b4d7b920c92748539d0cc19e203b743b9e6f2510b77f5ee377ea2f8fc
Contents?: true
Size: 752 Bytes
Versions: 16
Compression:
Stored size: 752 Bytes
Contents
require 'spec_helper' RSpec.shared_examples "template acceptance validations" do include CommandHelpers include JsonHelpers include FileHelpers include AwsHelpers it "should create a valid JSON template from the example ruby template" do delete_test_file(json_template) json = exec_cmd("./#{ruby_template} expand", :within => "examples").first write_test_file(json_template, json) validate_cfn_template(json_template) end end describe "cloudformation-ruby-dsl" do context "simplest template" do let(:ruby_template) { "simple_template.rb" } let(:json_template) { "simple_template.json" } include_examples "template acceptance validations" end # TODO validate examples/cloudformation-ruby-script.rb end
Version data entries
16 entries across 16 versions & 2 rubygems