diff options
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/shared/context/client.rb | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/spec/support/shared/context/client.rb b/spec/support/shared/context/client.rb index d8676ef168..2f127c5cbd 100644 --- a/spec/support/shared/context/client.rb +++ b/spec/support/shared/context/client.rb @@ -16,11 +16,18 @@ 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) + ohai = instance_double( + "Ohai::System", + :all_plugins => true, + :data => ohai_data, + :load_plugins => nil, + :require_plugin => nil + ) allow(ohai).to receive(:[]) do |k| ohai_data[k] end |