summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Doherty <cdoherty@getchef.com>2014-09-16 12:29:21 -0700
committerChris Doherty <cdoherty@getchef.com>2014-09-16 12:29:21 -0700
commitd54a75c21834357a7e118a5e905282504d9ce5d9 (patch)
treee67725fce0695e5ab1779fb5a3a0c000126606d5
parent1f8e295bb4eff78b78497d94b0699c9d61acb4ae (diff)
downloadchef-d54a75c21834357a7e118a5e905282504d9ce5d9.tar.gz
Thanks to Lamont, fix trusted certs test failures on Windows.
-rw-r--r--spec/unit/knife/bootstrap_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/knife/bootstrap_spec.rb b/spec/unit/knife/bootstrap_spec.rb
index 41fc57338e..a1c5d168dd 100644
--- a/spec/unit/knife/bootstrap_spec.rb
+++ b/spec/unit/knife/bootstrap_spec.rb
@@ -366,7 +366,7 @@ describe Chef::Knife::Bootstrap do
before do
Chef::Config[:trusted_certs_dir] = trusted_certs_dir
IO.stub(:read).and_call_original
- IO.stub(:read).with("/etc/chef/validation.pem").and_return("")
+ IO.stub(:read).with(File.expand_path(Chef::Config[:validation_key])).and_return("")
end
def certificates