summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@getchef.com>2014-09-15 16:59:33 -0700
committerChris Doherty <cdoherty@getchef.com>2014-09-15 16:59:33 -0700
commit61cfbadba2c4e8d59ee8775b63983103aad1f241 (patch)
tree68f404d83253e0b157586b97872d2da7c136aace
parentf4cf3816e442d6a57432538b462254e803461857 (diff)
downloadchef-61cfbadba2c4e8d59ee8775b63983103aad1f241.tar.gz
More single quotes around a command path.
-rw-r--r--spec/integration/knife/cookbook_api_ipv6_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/integration/knife/cookbook_api_ipv6_spec.rb b/spec/integration/knife/cookbook_api_ipv6_spec.rb
index 4191bb1731..64e3c41d64 100644
--- a/spec/integration/knife/cookbook_api_ipv6_spec.rb
+++ b/spec/integration/knife/cookbook_api_ipv6_spec.rb
@@ -62,7 +62,7 @@ END_VALIDATION_PEM
end
let(:chef_dir) { File.join(File.dirname(__FILE__), "..", "..", "..", "bin") }
- let(:knife) { "ruby #{chef_dir}/knife" }
+ let(:knife) { "ruby '#{chef_dir}/knife'" }
let(:knife_config_flag) { "-c '#{path_to("config/knife.rb")}'" }
@@ -96,6 +96,7 @@ END_CLIENT_RB
end
context "and the cookbook has been uploaded to the server" do
+
before do
shell_out!("#{knife} cookbook upload apache2 #{knife_config_flag}", :cwd => chef_dir)
end