summaryrefslogtreecommitdiff
path: root/spec/unit/resource/registry_key_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource/registry_key_spec.rb')
-rw-r--r--spec/unit/resource/registry_key_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/registry_key_spec.rb b/spec/unit/resource/registry_key_spec.rb
index d8eea74ed4..1f32a00210 100644
--- a/spec/unit/resource/registry_key_spec.rb
+++ b/spec/unit/resource/registry_key_spec.rb
@@ -195,6 +195,6 @@ describe Chef::Resource::RegistryKey, "state" do
it "returns scrubbed values" do
resource.values([ { :name => "poosh", :type => :binary, :data => 255.chr * 1 } ])
- expect(resource.state_for_resource_reporter).to eql( { :values => [{ :name => "poosh", :type => :binary, :data => "a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb89" }] } )
+ expect(resource.state_for_resource_reporter[:values]).to eql( [{ :name => "poosh", :type => :binary, :data => "a8100ae6aa1940d0b663bb31cd466142ebbdbd5187131b92d93818987832eb89" }] )
end
end