summaryrefslogtreecommitdiff
path: root/spec/unit/mixin/deep_merge_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/mixin/deep_merge_spec.rb')
-rw-r--r--spec/unit/mixin/deep_merge_spec.rb14
1 files changed, 0 insertions, 14 deletions
diff --git a/spec/unit/mixin/deep_merge_spec.rb b/spec/unit/mixin/deep_merge_spec.rb
index 40e749ecc0..779445e04e 100644
--- a/spec/unit/mixin/deep_merge_spec.rb
+++ b/spec/unit/mixin/deep_merge_spec.rb
@@ -236,20 +236,6 @@ describe Chef::Mixin::DeepMerge, "deep_merge!" do
@dm.deep_merge!(hash_src, hash_dst)
expect(hash_dst).to eq({"item" => "orange"})
end
-
- it 'should overwrite hashes with nil' do
- hash_src = {"item" => { "1" => "2"}, "other" => true }
- hash_dst = {"item" => nil }
- @dm.deep_merge!(hash_src, hash_dst)
- expect(hash_dst).to eq({"item" => nil, "other" => true })
- end
-
- it 'should overwrite strings with nil' do
- hash_src = {"item" => "to_overwrite", "other" => false }
- hash_dst = {"item" => nil }
- @dm.deep_merge!(hash_src, hash_dst)
- expect(hash_dst).to eq({"item" => nil, "other" => false })
- end
end # deep_merge!
# Chef specific