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: Ifc9b3fa8b4ce44c6b02642fee3a2126dcf7cf052
This commit is contained in:
Matt Thompson
2014-01-10 08:59:02 +00:00
parent f219a1df78
commit ef6f689f8d

View File

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