summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2018-02-22 15:15:55 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2018-02-22 15:15:55 -0800
commit01593208de6143a3fbc5906a776c6333125025ae (patch)
treee299860cb5834c7bc1116f89c2b9e5096382b425
parent0eaff267cf603e8494c0a9e631d84f89f3ac179a (diff)
downloadchef-01593208de6143a3fbc5906a776c6333125025ae.tar.gz
Revert "remove more debugging and revert no-longer necessary fix"
This reverts commit 80b9d0448d9fb01a7188cbee6c9595bf0cf5b974.
-rw-r--r--spec/unit/node/immutable_collections_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/unit/node/immutable_collections_spec.rb b/spec/unit/node/immutable_collections_spec.rb
index 96adedddcb..c8e664a652 100644
--- a/spec/unit/node/immutable_collections_spec.rb
+++ b/spec/unit/node/immutable_collections_spec.rb
@@ -85,7 +85,9 @@ describe Chef::Node::ImmutableMash do
end
it "should create a mash with the same content" do
- expect(@copy).to eql(@immutable_mash)
+ puts @copy.class
+ puts @immutable_mash.class
+ expect(@immutable_mash).to eq(@copy)
end
it "should allow mutation" do
@@ -308,7 +310,7 @@ describe Chef::Node::ImmutableArray do
end
it "should create an array with the same content" do
- expect(@immutable_nested_array).to eq(@copy)
+ expect(@copy).to eq(@immutable_nested_array)
end
it "should allow mutation" do