diff options
author | Thom May <thom@chef.io> | 2018-02-19 11:34:48 +0000 |
---|---|---|
committer | Thom May <thom@chef.io> | 2018-02-19 11:34:48 +0000 |
commit | 7994ede6a075d6b6599927a1bf1c5fd6ecfdb2b3 (patch) | |
tree | 47d807a0e102836b30d3e75b8d7f54c606e700cb /spec | |
parent | ab46256c6119dd5a2394e424c2b20dcd1f3ccd47 (diff) | |
download | chef-7994ede6a075d6b6599927a1bf1c5fd6ecfdb2b3.tar.gz |
fix ohai tests after require_plugin removaltm/fix_ohai_tests
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/unit/knife/configure_spec.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/spec/unit/knife/configure_spec.rb b/spec/unit/knife/configure_spec.rb index f1d3bd0745..27bb0d9a3f 100644 --- a/spec/unit/knife/configure_spec.rb +++ b/spec/unit/knife/configure_spec.rb @@ -26,8 +26,7 @@ describe Chef::Knife::Configure do let(:ohai) do o = {} - allow(o).to receive(:require_plugin) - allow(o).to receive(:load_plugins) + allow(o).to receive(:all_plugins).with(%w{ os hostname fqdn }) o[:fqdn] = fqdn o end |