summaryrefslogtreecommitdiff
path: root/spec/integration/recipes/lwrp_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/integration/recipes/lwrp_spec.rb')
-rw-r--r--spec/integration/recipes/lwrp_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/recipes/lwrp_spec.rb b/spec/integration/recipes/lwrp_spec.rb
index b5af6978ac..ce2861d43b 100644
--- a/spec/integration/recipes/lwrp_spec.rb
+++ b/spec/integration/recipes/lwrp_spec.rb
@@ -16,7 +16,7 @@ describe "LWRPs" do
# machine that has omnibus chef installed. In that case we need to ensure
# we're running `chef-client` from the source tree and not the external one.
# cf. CHEF-4914
- let(:chef_client) { "ruby '#{chef_dir}/chef-client' --minimal-ohai" }
+ let(:chef_client) { "bundle exec chef-client --minimal-ohai" }
when_the_repository "has a cookbook named l-w-r-p" do
before do