[chef] Re: chefspec and lazy


Chronological Thread 
  • From: Peter Burkholder < >
  • To:
  • Subject: [chef] Re: chefspec and lazy
  • Date: Tue, 21 Oct 2014 18:10:47 -0400

Can you share a bit more of the code you have under test?

On Tue, Oct 21, 2014 at 5:34 PM, Joe Nuspl < " target="_blank"> > wrote:
I’m trying to write a unit test for a recipe that uses http://docs.getchef.com/resource_common.html#lazy-attribute-evaluation

It fails with:

Failure/Error: runner.converge(described_recipe)
NoMethodError:
 undefined method `lazy' for Chef::Resource::Execute

Any ideas on how to make this work?

Joe




Archive powered by MHonArc 2.6.16.

§