Sha256: 6a28dde315c31e79b36b3ee5698b5781aeeb778779f0cae60c3f63ebbeb27e8f

Contents?: true

Size: 361 Bytes

Versions: 26

Compression:

Stored size: 361 Bytes

Contents

Given(/^I do not have a Berkshelf config$/) do
  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 = Ridley::Chef::Config.new(path)
  Berkshelf.chef_config.save

  ENV["BERKSHELF_CHEF_CONFIG"] = path
  set_environment_variable "BERKSHELF_CHEF_CONFIG", path
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
berkshelf-5.6.5 features/step_definitions/chef/config_steps.rb
berkshelf-5.6.4 features/step_definitions/chef/config_steps.rb
berkshelf-5.6.3 features/step_definitions/chef/config_steps.rb
berkshelf-5.6.2 features/step_definitions/chef/config_steps.rb
berkshelf-5.6.1 features/step_definitions/chef/config_steps.rb
berkshelf-5.6.0 features/step_definitions/chef/config_steps.rb