summaryrefslogtreecommitdiff
path: root/spec/unit/dsl/regsitry_helper_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/dsl/regsitry_helper_spec.rb')
-rw-r--r--spec/unit/dsl/regsitry_helper_spec.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/spec/unit/dsl/regsitry_helper_spec.rb b/spec/unit/dsl/regsitry_helper_spec.rb
index 9b527ec36c..cda986b7d1 100644
--- a/spec/unit/dsl/regsitry_helper_spec.rb
+++ b/spec/unit/dsl/regsitry_helper_spec.rb
@@ -20,11 +20,10 @@ require "chef/dsl/registry_helper"
require "spec_helper"
describe Chef::Resource::RegistryKey do
-
before (:all) do
events = Chef::EventDispatch::Dispatcher.new
node = Chef::Node.new
- node.consume_external_attrs(OHAI_SYSTEM.data,{})
+ node.consume_external_attrs(OHAI_SYSTEM.data, {})
run_context = Chef::RunContext.new(node, {}, events)
@resource = Chef::Resource::new("foo", run_context)
end
@@ -50,4 +49,3 @@ describe Chef::Resource::RegistryKey do
end
end
end
-