features/step_definitions/chef/config_steps.rb in berkshelf-4.0.1 vs features/step_definitions/chef/config_steps.rb in berkshelf-4.1.0
- old
+ new
@@ -6,7 +6,7 @@
path = tmp_path.join('knife.rb').to_s
Berkshelf.chef_config = Ridley::Chef::Config.new(path)
Berkshelf.chef_config.save
ENV['BERKSHELF_CHEF_CONFIG'] = path
- set_env 'BERKSHELF_CHEF_CONFIG', path
+ set_environment_variable 'BERKSHELF_CHEF_CONFIG', path
end