From 08cdaa84c7fac312df96a141ff9132b74e7806a5 Mon Sep 17 00:00:00 2001 From: Matt Thompson Date: Thu, 9 Jan 2014 10:42:52 +0000 Subject: [PATCH] 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 --- spec/spec_helper.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5464f05..0ba6551 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,4 +1,5 @@ require "chefspec" +require "chefspec/berkshelf" ::LOG_LEVEL = :fatal ::OPENSUSE_OPTS = {