diff options
author | Chris Doherty <randomcamel@users.noreply.github.com> | 2014-09-16 13:40:31 -0700 |
---|---|---|
committer | Chris Doherty <randomcamel@users.noreply.github.com> | 2014-09-16 13:40:31 -0700 |
commit | 7aae8dbe358076d985ef04150692483f4af1c9c0 (patch) | |
tree | e67725fce0695e5ab1779fb5a3a0c000126606d5 | |
parent | 1f8e295bb4eff78b78497d94b0699c9d61acb4ae (diff) | |
parent | d54a75c21834357a7e118a5e905282504d9ce5d9 (diff) | |
download | chef-7aae8dbe358076d985ef04150692483f4af1c9c0.tar.gz |
Merge pull request #2064 from opscode/cdoherty-fix-cert-units
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 |