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: I4d8256215dd4ca4d628db79e69ae9bf24e994277
This commit is contained in:
Matt Thompson
2014-01-10 08:48:38 +00:00
parent 3f739f7a78
commit b6f47bbc83

View File

@@ -1,4 +1,5 @@
require "chefspec"
require "chefspec/berkshelf"
require "chef/application"
require_relative "support/matcher"