Sha256: 259f74bc25251c07bd086097e4ddf958b3812de99195709f7363666c8ea67de4

Contents?: true

Size: 361 Bytes

Versions: 17

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

17 entries across 17 versions & 1 rubygems

Version Path
berkshelf-5.5.0 features/step_definitions/chef/config_steps.rb
berkshelf-5.4.0 features/step_definitions/chef/config_steps.rb
berkshelf-5.3.0 features/step_definitions/chef/config_steps.rb
berkshelf-5.2.0 features/step_definitions/chef/config_steps.rb
berkshelf-5.1.0 features/step_definitions/chef/config_steps.rb
berkshelf-5.0.0 features/step_definitions/chef/config_steps.rb
berkshelf-4.3.5 features/step_definitions/chef/config_steps.rb
berkshelf-4.3.3 features/step_definitions/chef/config_steps.rb
berkshelf-4.3.2 features/step_definitions/chef/config_steps.rb
berkshelf-4.3.1 features/step_definitions/chef/config_steps.rb
berkshelf-4.3.0 features/step_definitions/chef/config_steps.rb
berkshelf-4.2.3 features/step_definitions/chef/config_steps.rb
berkshelf-4.2.2 features/step_definitions/chef/config_steps.rb
berkshelf-4.2.1 features/step_definitions/chef/config_steps.rb
berkshelf-4.2.0 features/step_definitions/chef/config_steps.rb
berkshelf-4.1.1 features/step_definitions/chef/config_steps.rb
berkshelf-4.1.0 features/step_definitions/chef/config_steps.rb