diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2019-05-21 14:22:56 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2019-05-21 14:23:41 -0700 |
commit | f3a5ce3a5958c5d85697a9929480e6edc7260bd3 (patch) | |
tree | 5c8ec203d6038369855e1b7862615810eb5b8be6 | |
parent | 5aa36f2551d83cc845d020e6950e0273f9a79aba (diff) | |
download | chef-f3a5ce3a5958c5d85697a9929480e6edc7260bd3.tar.gz |
spec fix for windows
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | spec/unit/train_transport_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/train_transport_spec.rb b/spec/unit/train_transport_spec.rb index cc978d0b94..1d29c59da0 100644 --- a/spec/unit/train_transport_spec.rb +++ b/spec/unit/train_transport_spec.rb @@ -50,7 +50,7 @@ describe Chef::TrainTransport do describe "credentials_file_path" do let(:config_cred_file_path) { "/somewhere/credentials" } - let(:host_cred_file_path) { "/etc/chef/foo.example.org/credentials" } + let(:host_cred_file_path) { Chef::Platform.windows? ? "C:\\chef\\foo.example.org\\credentials" : "/etc/chef/foo.example.org/credentials" } context "when a file path is specified by a config" do before do |