features/step_definitions/chef/config_steps.rb in berkshelf-3.0.0.beta1 vs features/step_definitions/chef/config_steps.rb in berkshelf-3.0.0.beta2
- old
+ new
@@ -2,11 +2,11 @@
FileUtils.rm_f(ENV['BERKSHELF_CONFIG'])
end
Given /^I do not have a Chef config$/ do
path = tmp_path.join('knife.rb').to_s
- Berkshelf.chef_config = Berkshelf::Chef::Config.new(path)
- Berkshelf::Chef::Config.instance.save
+ Berkshelf.chef_config = Ridley::Chef::Config.new(path)
+ Berkshelf.chef_config.save
ENV['BERKSHELF_CHEF_CONFIG'] = path
set_env 'BERKSHELF_CHEF_CONFIG', path
end