Sha256: 09a7eb2ea754fc3cfd42e827c89cac3614514867b99e553c18924b4421844693
Contents?: true
Size: 325 Bytes
Versions: 110
Compression:
Stored size: 325 Bytes
Contents
shared_examples_for "a generated file" do |context_var| before do Dir.chdir(tempdir) do allow(generator.chef_runner).to receive(:stdout).and_return(stdout_io) generator.run end end it "should contain #{context_var} from the generator context" do expect(File.read(file)).to match line end end
Version data entries
110 entries across 110 versions & 2 rubygems