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: I4ac5ec08dc3a09dd3b434203f83ef5e54d964505
This commit is contained in:
Matt Thompson 2014-01-09 10:11:29 +00:00
parent a97a53a86c
commit 3bb10f3819
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
require "chefspec"
require "chefspec/berkshelf"
require_relative "support/matcher"
::LOG_LEVEL = :fatal