summaryrefslogtreecommitdiff
path: root/lib/chef/dsl
diff options
context:
space:
mode:
authorPrajaktaPurohit <prajakta@opscode.com>2012-12-05 18:01:40 -0800
committerLamont Granquist <lamont@opscode.com>2012-12-19 15:56:10 -0800
commit8ddc85c8b77827b19db74fd962280c1895106abf (patch)
tree77814bc562c0146a480000cffb5bac9b65d22a79 /lib/chef/dsl
parent539f62b46462ede1a31875ee6e800e141e25c903 (diff)
downloadchef-8ddc85c8b77827b19db74fd962280c1895106abf.tar.gz
Adding tests for the registry dsl and some minor fixes
Diffstat (limited to 'lib/chef/dsl')
-rw-r--r--lib/chef/dsl/registry_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/dsl/registry_helper.rb b/lib/chef/dsl/registry_helper.rb
index 934f5298e0..2c9638d7b9 100644
--- a/lib/chef/dsl/registry_helper.rb
+++ b/lib/chef/dsl/registry_helper.rb
@@ -35,7 +35,7 @@ class Chef
end
def registry_get_values(key_path, architecture = :machine)
registry = Chef::Win32::Registry.new(run_context, architecture)
- registry.get_values?(key_path)
+ registry.get_values(key_path)
end
def registry_has_subkeys?(key_path, architecture = :machine)
registry = Chef::Win32::Registry.new(run_context, architecture)
@@ -43,7 +43,7 @@ class Chef
end
def registry_get_subkeys(key_path, architecture = :machine)
registry = Chef::Win32::Registry.new(run_context, architecture)
- registry.get_subkeys?(key_path)
+ registry.get_subkeys(key_path)
end
def registry_value_exists?(key_path, value, architecture = :machine)
registry = Chef::Win32::Registry.new(run_context, architecture)