[chef] Chefspec + Berksfile - Cookbook not found


Chronological Thread 
  • From: Cassiano Leal < >
  • To:
  • Subject: [chef] Chefspec + Berksfile - Cookbook not found
  • Date: Mon, 19 Nov 2012 11:53:09 -0200

Ohai Chefs,

I'm trying to TDD a cookbook for my company's website. I'm using Berksfile to manage cookbook dependencies and I'm trying to get Chefspec to work.

Converging the cookbook on a VM works just fine, but when I run rspec I get a Cookbook not found error.

There's additional information on this gist: https://gist.github.com/4072082

Do I need to require something from berkshelf in the specs? I tried including require 'berkshelf' at the top of the recipe to no avail.

Appreciate your thoughts/guidance.

Thanks!
-- 
Cassiano Leal




Archive powered by MHonArc 2.6.16.

§