diff options
author | Thom May <thom@may.lt> | 2018-04-30 11:52:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-30 11:52:13 +0100 |
commit | 515d1683a6549da75905ff33ef3e2858d6d10fa7 (patch) | |
tree | 0ddbced6ac70d844a22cee6f4222d0d063bc8378 /spec/unit | |
parent | ec292426fb17e1259e22c5064ca9f5af18579f87 (diff) | |
parent | 011a0a5f6cf68a563781643b16601f6276a51fba (diff) | |
download | chef-515d1683a6549da75905ff33ef3e2858d6d10fa7.tar.gz |
Merge pull request #7199 from chef/registry_key
Convert :key property in registry_key to use property
Diffstat (limited to 'spec/unit')
-rw-r--r-- | spec/unit/resource/registry_key_spec.rb | 2 |
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 |