summaryrefslogtreecommitdiff
path: root/spec/unit/resource/chef_client_cron_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource/chef_client_cron_spec.rb')
-rw-r--r--spec/unit/resource/chef_client_cron_spec.rb2
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