summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordanielsdeleo <dan@opscode.com>2013-01-25 17:34:08 -0800
committerdanielsdeleo <dan@opscode.com>2013-01-28 10:30:19 -0800
commit16acebb541de65b652f5ed3d2147e4c3d6c782b6 (patch)
treeb081a7d7785c309d0c171ebb9202bb7574086ab6
parent92eeafc2214a5db9e09741891fced29febcade30 (diff)
downloadchef-16acebb541de65b652f5ed3d2147e4c3d6c782b6.tar.gz
hide Win32::API calls from non-windows
-rw-r--r--spec/unit/registry_helper_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/registry_helper_spec.rb b/spec/unit/registry_helper_spec.rb
index a83895ba20..6a0e4270f0 100644
--- a/spec/unit/registry_helper_spec.rb
+++ b/spec/unit/registry_helper_spec.rb
@@ -159,7 +159,7 @@ describe Chef::Provider::RegistryKey do
end
end
- describe "delete_key" do
+ describe "delete_key", :windows_only do
it "deletes key if it has subkeys and recursive is set to true" do
@registry.should_receive(:key_exists?).with(key_path).and_return(true)
@registry.should_receive(:get_hive_and_key).with(key_path).and_return([@hive_mock, key])