Sha256: afde476b36729ce32176b44e3e1ea69ca4ed4708c545b03d5624ce4e08ff85f5
Contents?: true
Size: 670 Bytes
Versions: 19
Compression:
Stored size: 670 Bytes
Contents
describe Terraspace::Compiler::Erb::Render do let(:render) { described_class.new(mod, src_path) } let(:mod) do mod = Terraspace::Mod.new("a1") mod.resolved = false mod end # Only testing mod unresolved as a sanity check and its worth the ROI. # The resolved would the Fetcher. We have unit tests to cover those other changes. context "a1" do let(:src_path) { fixture("dependencies/app/stacks/a1/tfvars/dev.tfvars") } it "build" do allow(Terraspace::Terraform::RemoteState::Marker::Output).to receive(:stack_names).and_return("b1") result = render.build expect(result).to eq "length = (unresolved)" end end end
Version data entries
19 entries across 19 versions & 1 rubygems