diff options
author | Chris Doherty <cdoherty@getchef.com> | 2014-09-16 12:29:21 -0700 |
---|---|---|
committer | Chris Doherty <cdoherty@getchef.com> | 2014-09-16 12:29:21 -0700 |
commit | d54a75c21834357a7e118a5e905282504d9ce5d9 (patch) | |
tree | e67725fce0695e5ab1779fb5a3a0c000126606d5 | |
parent | 1f8e295bb4eff78b78497d94b0699c9d61acb4ae (diff) | |
download | chef-d54a75c21834357a7e118a5e905282504d9ce5d9.tar.gz |
Thanks to Lamont, fix trusted certs test failures on Windows.
-rw-r--r-- | spec/unit/knife/bootstrap_spec.rb | 2 |
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 |