summaryrefslogtreecommitdiff
path: root/chef-utils/spec/spec_helper.rb
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-20 23:57:26 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-20 23:57:26 -0700
commiteb49e6b6b8c160da0cf53f05fefa1c90d7a3a993 (patch)
treeec146beb48dda66abdefe0d0330c71c053498b18 /chef-utils/spec/spec_helper.rb
parentcb6ee920847d91b8c6cd8e7cb210b8a4fc730e69 (diff)
downloadchef-eb49e6b6b8c160da0cf53f05fefa1c90d7a3a993.tar.gz
Gate requires in chef-utils and chef-config as wellrequires
Update the cop config to handle those as well Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'chef-utils/spec/spec_helper.rb')
-rw-r--r--chef-utils/spec/spec_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/chef-utils/spec/spec_helper.rb b/chef-utils/spec/spec_helper.rb
index 0b193e2d9a..b7efd66c4e 100644
--- a/chef-utils/spec/spec_helper.rb
+++ b/chef-utils/spec/spec_helper.rb
@@ -1,4 +1,4 @@
-require "chef-utils"
+require "chef-utils" unless defined?(ChefUtils)
# FIXME: dynamically generate this for accuracy
HELPER_MODULES = [