summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-04-16 15:59:15 -0700
committerTim Smith <tsmith84@gmail.com>2020-04-16 15:59:15 -0700
commit4c7ddb34ea65babd5a59e093d39ea41199e24467 (patch)
tree5a5534ab701fd427906006b715826c8e479f6ba1
parentbbb5f140854380c0c4e23a7f0e1994c0a2c07d39 (diff)
downloadchef-ohai_custom_resource.tar.gz
Remove some leftover spec junkohai_custom_resource
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/unit/resource/ohai_spec.rb3
1 files changed, 0 insertions, 3 deletions
diff --git a/spec/unit/resource/ohai_spec.rb b/spec/unit/resource/ohai_spec.rb
index c293e854d3..5681a4540c 100644
--- a/spec/unit/resource/ohai_spec.rb
+++ b/spec/unit/resource/ohai_spec.rb
@@ -88,9 +88,6 @@ describe Chef::Resource::Ohai do
# Fake node with a dummy save
node.name(@fqdn)
allow(node).to receive(:save).and_return(node)
- @events = Chef::EventDispatch::Dispatcher.new
- @run_context = Chef::RunContext.new(node, {}, @events)
- @new_resource = Chef::Resource::Ohai.new("ohai_reload")
ohai = Ohai::System.new
ohai.all_plugins
node.consume_external_attrs(ohai.data, {})