Sha256: 9f0e23fbcbb3ad5916ab210a36fca55dbdacef0d628faa6fd60b94fbd5551e1b
Contents?: true
Size: 337 Bytes
Versions: 19
Compression:
Stored size: 337 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
19 entries across 19 versions & 1 rubygems