summaryrefslogtreecommitdiff
path: root/chef-config/spec/spec_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'chef-config/spec/spec_helper.rb')
-rw-r--r--chef-config/spec/spec_helper.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/chef-config/spec/spec_helper.rb b/chef-config/spec/spec_helper.rb
index 6a324474e1..8206283a56 100644
--- a/chef-config/spec/spec_helper.rb
+++ b/chef-config/spec/spec_helper.rb
@@ -1,4 +1,4 @@
-require "chef-config/windows"
+require "chef-helpers"
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
@@ -32,8 +32,8 @@ RSpec.configure do |config|
config.filter_run :focus
config.run_all_when_everything_filtered = true
- config.filter_run_excluding windows_only: true unless ChefConfig.windows?
- config.filter_run_excluding unix_only: true if ChefConfig.windows?
+ config.filter_run_excluding windows_only: true unless ChefHelpers.windows?
+ config.filter_run_excluding unix_only: true if ChefHelpers.windows?
# Limits the available syntax to the non-monkey patched syntax that is
# recommended. For more details, see: