summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Hain <shain@chef.io>2017-12-11 17:11:31 -0800
committerScott Hain <shain@chef.io>2017-12-11 17:38:13 -0800
commit83830945c0d3a3cac9e21b059deab632d092aebf (patch)
treef71ba549e9150637bb898441cebbed5b70fd1583
parentfcd6e4d527353b4b0090469383779a453418621f (diff)
downloadchef-83830945c0d3a3cac9e21b059deab632d092aebf.tar.gz
Selectively update tests based on this PR: https://github.com/chef/chef/commit/6b8130ad431fd61ce865734e7172efc3e0eba672#diff-37d7a2c7d1b1aa8bff687242c2753e97
Signed-off-by: Scott Hain <shain@chef.io>
-rw-r--r--chef-config/spec/unit/fips_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/chef-config/spec/unit/fips_spec.rb b/chef-config/spec/unit/fips_spec.rb
index cf5af22ef1..b4e230e3d4 100644
--- a/chef-config/spec/unit/fips_spec.rb
+++ b/chef-config/spec/unit/fips_spec.rb
@@ -19,6 +19,12 @@
require "chef-config/fips"
require "spec_helper"
+begin
+ require "win32/registry"
+rescue LoadError
+ # not on unix
+end
+
RSpec.describe "ChefConfig.fips?" do
let(:enabled) { "0" }