diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-08-26 22:18:02 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-08-27 15:18:56 -0700 |
commit | 20ce378890ca7991a23391000d6f7135a2c52841 (patch) | |
tree | 27845bfa36727306266b95912cf4fb4cccaf8fae | |
parent | b6911fda35381e1ffe253a2ecdfec0dda181dd25 (diff) | |
download | chef-20ce378890ca7991a23391000d6f7135a2c52841.tar.gz |
Fix specs on windows
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | spec/unit/resource/chef_client_cron_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/resource/chef_client_cron_spec.rb b/spec/unit/resource/chef_client_cron_spec.rb index 25286de106..121758ac73 100644 --- a/spec/unit/resource/chef_client_cron_spec.rb +++ b/spec/unit/resource/chef_client_cron_spec.rb @@ -149,7 +149,7 @@ describe Chef::Resource::ChefClientCron do allow(provider).to receive(:which).with("nice").and_return("/usr/bin/nice") resource.nice(-15) expect(provider.client_command).to eql( - "/bin/sleep 123; /usr/bin/nice -n -15 /opt/chef/bin/chef-client -c /etc/chef/client.rb -L /var/log/chef/client.log" + "/bin/sleep 123; /usr/bin/nice -n -15 /opt/chef/bin/chef-client -c #{root_path} -L /var/log/chef/client.log" ) end end |