Sha256: 1962eff2418fe645764176d4632ac9aac0b0355eee650de37601577bf0f03626
Contents?: true
Size: 475 Bytes
Versions: 104
Compression:
Stored size: 475 Bytes
Contents
describe Terraspace::Compiler::Dsl::Mod do let(:builder) { described_class.new(mod, path) } let(:mod) { Terraspace::Mod.new("mono") } context "vpc" do let(:path) { fixture("projects/ruby/aws/app/stacks/monolith/main.rb") } it "evaluate" do result = builder.build json =<<~EOL.strip { "resource": { "aws_vpc": { "vpc": { "cidr_block": "10.20.0.0/16" } } } } EOL expect(result).to eq(json) end end end
Version data entries
104 entries across 104 versions & 1 rubygems