diff options
-rw-r--r-- | spec/functional/win32/registry_helper_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/functional/win32/registry_helper_spec.rb b/spec/functional/win32/registry_helper_spec.rb index 9ef6fd006f..ba0ae12495 100644 --- a/spec/functional/win32/registry_helper_spec.rb +++ b/spec/functional/win32/registry_helper_spec.rb @@ -556,11 +556,11 @@ describe 'Chef::Win32::Registry', :windows_only do end after(:all) do - ::Win32::Registry::HKEY_LOCAL_MACHINE.open("Software\\Root", ::Win32::Registry::KEY_ALL_ACCESS | 0x0100) do |reg| - reg.delete_key("Trunk", true) + ::Win32::Registry::HKEY_LOCAL_MACHINE.open("Software", ::Win32::Registry::KEY_ALL_ACCESS | 0x0100) do |reg| + reg.delete_key("Root", true) end - ::Win32::Registry::HKEY_LOCAL_MACHINE.open("Software\\Root", ::Win32::Registry::KEY_ALL_ACCESS | 0x0200) do |reg| - reg.delete_key("Trunk", true) + ::Win32::Registry::HKEY_LOCAL_MACHINE.open("Software", ::Win32::Registry::KEY_ALL_ACCESS | 0x0200) do |reg| + reg.delete_key("Root", true) end end |