summaryrefslogtreecommitdiff
path: root/tasks/rspec.rb
diff options
context:
space:
mode:
authorDan Webb <dan.webb@damacus.io>2020-04-18 17:19:38 +0100
committerDan Webb <dan.webb@damacus.io>2020-04-18 17:24:00 +0100
commit3cb31bfb962a9d1c0075b4d62d540752dc9ff683 (patch)
tree7f289cdc64ff2fd7783adac27cc1ae29703c59bc /tasks/rspec.rb
parent4a7b20bc53ee7f43d5ff7a0e3c844959093914d7 (diff)
downloadchef-3cb31bfb962a9d1c0075b4d62d540752dc9ff683.tar.gz
[FIX DEPRECATION] with_clean_env is deprecated
clean_env is now unbundled Signed-off-by: Daniel Webb <dan.webb@damacus.io>
Diffstat (limited to 'tasks/rspec.rb')
-rw-r--r--tasks/rspec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/rspec.rb b/tasks/rspec.rb
index d7e04767c6..03e0b1df05 100644
--- a/tasks/rspec.rb
+++ b/tasks/rspec.rb
@@ -29,7 +29,7 @@ begin
task :component_specs do
%w{chef-utils chef-config}.each do |gem|
Dir.chdir(gem) do
- Bundler.with_clean_env do
+ Bundler.with_unbundled_env do
sh("bundle install")
sh("bundle exec rake spec")
end