chef_cap 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/chef_cap/version.rb +1 -1
- data/recipes/chef_cap.rb +1 -0
- data/spec/chef_cap_spec.rb +5 -1
- metadata +2 -2
data/lib/chef_cap/version.rb
CHANGED
data/recipes/chef_cap.rb
CHANGED
data/spec/chef_cap_spec.rb
CHANGED
@@ -249,11 +249,15 @@ describe "chef_cap" do
|
|
249
249
|
chef_cap.cap_ssh_options[:keys].should == "some_ssh_key_path"
|
250
250
|
end
|
251
251
|
|
252
|
-
|
253
252
|
it "adds a before ssh:transfer_keys hook to call ssh:set_options" do
|
254
253
|
chef_cap.cap_before["ssh:transfer_keys"].should_not be_nil
|
255
254
|
chef_cap.cap_before["ssh:transfer_keys"].should include("ssh:set_options")
|
256
255
|
end
|
256
|
+
|
257
|
+
it "adds a after <environment> hook to call ssh:set_options" do
|
258
|
+
chef_cap.cap_after[:nossh].should_not be_nil
|
259
|
+
chef_cap.cap_after[:nossh].should include("ssh:set_options")
|
260
|
+
end
|
257
261
|
end
|
258
262
|
|
259
263
|
context "when a value is null" do
|