chef_cap 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/chef_cap/version.rb +1 -1
- data/recipes/lib/chef_cap_helper.rb +1 -1
- data/spec/chef_cap_helper_spec.rb +1 -1
- metadata +2 -2
data/lib/chef_cap/version.rb
CHANGED
|
@@ -15,7 +15,7 @@ class ChefCapHelper
|
|
|
15
15
|
ChefCapConfiguration.configuration.set key, value
|
|
16
16
|
else
|
|
17
17
|
debug("Unsetting #{key.inspect} => #{value.inspect}")
|
|
18
|
-
ChefCapConfiguration.configuration.unset key
|
|
18
|
+
ChefCapConfiguration.configuration.unset key
|
|
19
19
|
end
|
|
20
20
|
end
|
|
21
21
|
end
|
|
@@ -44,7 +44,7 @@ describe ChefCapHelper do
|
|
|
44
44
|
end
|
|
45
45
|
|
|
46
46
|
it "should unset null values" do
|
|
47
|
-
@configuration.should_receive(:unset).with(:somekey
|
|
47
|
+
@configuration.should_receive(:unset).with(:somekey)
|
|
48
48
|
@configuration.should_not_receive(:set)
|
|
49
49
|
ChefCapHelper.parse_hash({"somekey" => nil})
|
|
50
50
|
end
|