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-7.0.7 features/step_definitions/chef/config_steps.rb
berkshelf-6.3.4 features/step_definitions/chef/config_steps.rb
berkshelf-7.0.6 features/step_definitions/chef/config_steps.rb
berkshelf-7.0.5 features/step_definitions/chef/config_steps.rb
berkshelf-6.3.3 features/step_definitions/chef/config_steps.rb
berkshelf-7.0.4 features/step_definitions/chef/config_steps.rb
berkshelf-7.0.3 features/step_definitions/chef/config_steps.rb
berkshelf-7.0.2 features/step_definitions/chef/config_steps.rb
berkshelf-7.0.1 features/step_definitions/chef/config_steps.rb
berkshelf-7.0.0 features/step_definitions/chef/config_steps.rb
berkshelf-6.3.2 features/step_definitions/chef/config_steps.rb
berkshelf-6.3.1 features/step_definitions/chef/config_steps.rb
berkshelf-6.3.0 features/step_definitions/chef/config_steps.rb
berkshelf-6.2.2 features/step_definitions/chef/config_steps.rb
berkshelf-6.2.1 features/step_definitions/chef/config_steps.rb
berkshelf-6.2.0 features/step_definitions/chef/config_steps.rb
berkshelf-6.1.1 features/step_definitions/chef/config_steps.rb
berkshelf-6.1.0 features/step_definitions/chef/config_steps.rb
berkshelf-6.0.1 features/step_definitions/chef/config_steps.rb
berkshelf-6.0.0 features/step_definitions/chef/config_steps.rb