diff options
Diffstat (limited to 'spec/functional/dsl/registry_helper_spec.rb')
-rw-r--r-- | spec/functional/dsl/registry_helper_spec.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/functional/dsl/registry_helper_spec.rb b/spec/functional/dsl/registry_helper_spec.rb index 20efade913..1337f16a1e 100644 --- a/spec/functional/dsl/registry_helper_spec.rb +++ b/spec/functional/dsl/registry_helper_spec.rb @@ -31,9 +31,7 @@ describe Chef::Resource::RegistryKey, :windows_only do events = Chef::EventDispatch::Dispatcher.new node = Chef::Node.new - ohai = Ohai::System.new - ohai.all_plugins - node.consume_external_attrs(ohai.data,{}) + node.consume_external_attrs(OHAI_SYSTEM.data,{}) run_context = Chef::RunContext.new(node, {}, events) @resource = Chef::Resource.new("foo", run_context) end |