Update spec_helper to include 'chefspec/berkshelf'

This minor change allows you to run rspec outside of strainer while
still having cookbook dependencies automatically handled by berkshelf
(which also means you can run individual chefspec tests).

Note that this change does marginally increase the time it takes to run
a strainer test.

A similar change was recently accepted in the openstack-compute
cookbook.

Change-Id: I3cb98dd54675d9ff2bff340425378b34b021d9da
This commit is contained in:
Matt Thompson 2014-01-09 10:42:52 +00:00
parent 36f67cef93
commit 08cdaa84c7
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
require "chefspec"
require "chefspec/berkshelf"
::LOG_LEVEL = :fatal
::OPENSUSE_OPTS = {