features/support/env.rb in berkshelf-6.0.1 vs features/support/env.rb in berkshelf-6.1.0
- old
+ new
@@ -10,11 +10,10 @@
require "berkshelf/api/cucumber" unless windows?
Dir["spec/support/**/*.rb"].each { |f| require File.expand_path(f) }
World(Berkshelf::RSpec::PathHelpers)
-World(Berkshelf::RSpec::Kitchen)
CHEF_SERVER_PORT = 26310
BERKS_API_PORT = 26210
at_exit do
@@ -32,10 +31,9 @@
aruba.config.command_launcher = :in_process
aruba.config.main_class = Berkshelf::Cli::Runner
@dirs = ["spec/tmp/aruba"] # set aruba's temporary directory
- stub_kitchen!
clean_tmp_path
Berkshelf.initialize_filesystem
Berkshelf::CookbookStore.instance.initialize_filesystem
reload_configs
Berkshelf::CachedCookbook.instance_variable_set(:@loaded_cookbooks, nil)