summaryrefslogtreecommitdiff
path: root/chef-config/spec
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-09-23 19:42:44 -0700
committerTim Smith <tsmith84@gmail.com>2020-09-23 20:14:09 -0700
commit419873bd43e17eb11a45fd02c5df109f980a98e9 (patch)
tree0f562146da670925bb00381826c4e1b77c045bf7 /chef-config/spec
parenteb49e6b6b8c160da0cf53f05fefa1c90d7a3a993 (diff)
downloadchef-419873bd43e17eb11a45fd02c5df109f980a98e9.tar.gz
Back out one of the requires gatings
This seems to break specs Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'chef-config/spec')
-rw-r--r--chef-config/spec/spec_helper.rb2
-rw-r--r--chef-config/spec/unit/workstation_config_loader_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/chef-config/spec/spec_helper.rb b/chef-config/spec/spec_helper.rb
index fb6e78a6b1..557f1f6432 100644
--- a/chef-config/spec/spec_helper.rb
+++ b/chef-config/spec/spec_helper.rb
@@ -1,4 +1,4 @@
-require "chef-utils" unless defined?(ChefUtils)
+require "chef-utils"
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
diff --git a/chef-config/spec/unit/workstation_config_loader_spec.rb b/chef-config/spec/unit/workstation_config_loader_spec.rb
index cffc316240..70b42ad961 100644
--- a/chef-config/spec/unit/workstation_config_loader_spec.rb
+++ b/chef-config/spec/unit/workstation_config_loader_spec.rb
@@ -20,7 +20,7 @@ require "spec_helper"
require "tempfile" unless defined?(Tempfile)
require "chef-config/exceptions"
-require "chef-utils" unless defined?(ChefUtils)
+require "chef-utils"
require "chef-config/workstation_config_loader"
RSpec.describe ChefConfig::WorkstationConfigLoader do