diff options
Diffstat (limited to 'spec/functional/win32/crypto_spec.rb')
-rw-r--r-- | spec/functional/win32/crypto_spec.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/functional/win32/crypto_spec.rb b/spec/functional/win32/crypto_spec.rb index 185231dbdd..2a290c8ea0 100644 --- a/spec/functional/win32/crypto_spec.rb +++ b/spec/functional/win32/crypto_spec.rb @@ -24,11 +24,8 @@ end describe "Chef::ReservedNames::Win32::Crypto", :windows_only do describe '#encrypt' do before(:all) do - ohai_reader = Ohai::System.new - ohai_reader.all_plugins("platform") - new_node = Chef::Node.new - new_node.consume_external_attrs(ohai_reader.data,{}) + new_node.consume_external_attrs(OHAI_SYSTEM.data,{}) events = Chef::EventDispatch::Dispatcher.new |