spec/mixlib/config_spec.rb in mixlib-config-2.2.10 vs spec/mixlib/config_spec.rb in mixlib-config-2.2.11

- old
+ new

@@ -933,9 +933,17 @@ configurable(:x) end end end + it "has_key? finds the subcontext" do + expect(@klass.has_key?(:blah)).to be true + end + + it "key? finds the subcontext" do + expect(@klass.key?(:blah)).to be true + end + it "save does not save the hash for the config_context" do expect(@klass.save).to eql({}) end it "save with defaults saves the hash for the config_context" do