diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-10-07 16:47:43 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-10-25 09:29:29 -0700 |
commit | 9edd0113f2d046e051845cf1916fcf733d392791 (patch) | |
tree | 3d23e6552e610f3be6b860c487385e77c5b04cf4 /spec/unit/node/vivid_mash_spec.rb | |
parent | cbbc1c722a662596189a1a0b9aeee584b3482873 (diff) | |
download | chef-9edd0113f2d046e051845cf1916fcf733d392791.tar.gz |
rename __path to __path__ and __node to __node__lcg/node-path-tracking
consistency with Unchain here:
https://github.com/chef/chef/blob/master/lib/chef/decorator/unchain.rb#L23-L24
and with SimpleDelegator:
https://ruby-doc.org/stdlib-2.1.0/libdoc/delegate/rdoc/SimpleDelegator.html#method-i-__getobj__
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/node/vivid_mash_spec.rb')
-rw-r--r-- | spec/unit/node/vivid_mash_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/node/vivid_mash_spec.rb b/spec/unit/node/vivid_mash_spec.rb index 0955b6b1c3..017e6206fc 100644 --- a/spec/unit/node/vivid_mash_spec.rb +++ b/spec/unit/node/vivid_mash_spec.rb @@ -36,7 +36,7 @@ describe Chef::Node::VividMash do end it "sets the root to the root object" do - expect(vivid["one"]["two"].__root).to eql(vivid) + expect(vivid["one"]["two"].__root__).to eql(vivid) end it "does not send reset cache" do |