diff options
author | Thom May <thom@may.lt> | 2016-04-27 18:11:12 +0100 |
---|---|---|
committer | Thom May <thom@may.lt> | 2016-04-27 18:11:12 +0100 |
commit | fae30e6a075977bfad381a22dd979601e350258d (patch) | |
tree | af8aac7006160c4782246e1ba9b5a2ea5e2a3a1e /spec | |
parent | 68c9cbc93ed0d7dd995ae7240c1a8075c7d4387a (diff) | |
download | chef-fae30e6a075977bfad381a22dd979601e350258d.tar.gz |
Revert "Run in fips mode if node is fips enabled"
Diffstat (limited to 'spec')
-rw-r--r-- | spec/support/shared/context/client.rb | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/spec/support/shared/context/client.rb b/spec/support/shared/context/client.rb index 2f127c5cbd..d8676ef168 100644 --- a/spec/support/shared/context/client.rb +++ b/spec/support/shared/context/client.rb @@ -16,18 +16,11 @@ shared_context "client" do :machinename => machinename, :platform => platform, :platform_version => platform_version, - :fips => { :kernel => { :enabled => false } }, } end let(:ohai_system) do - ohai = instance_double( - "Ohai::System", - :all_plugins => true, - :data => ohai_data, - :load_plugins => nil, - :require_plugin => nil - ) + ohai = instance_double("Ohai::System", :all_plugins => true, :data => ohai_data) allow(ohai).to receive(:[]) do |k| ohai_data[k] end |