features/support/env.rb in berkshelf-3.0.0.beta1 vs features/support/env.rb in berkshelf-3.0.0.beta2

- old
+ new

@@ -27,10 +27,11 @@ ENV['BERKSHELF_CONFIG'] = Berkshelf.config.path.to_s ENV['BERKSHELF_CHEF_CONFIG'] = chef_config_path.to_s Aruba::InProcess.main_class = Berkshelf::Cli::Runner Aruba.process = Aruba::InProcess + @dirs = ["spec/tmp/aruba"] # set aruba's temporary directory stub_kitchen! clean_tmp_path Berkshelf.initialize_filesystem Berkshelf::CookbookStore.instance.initialize_filesystem @@ -40,10 +41,10 @@ { type: "chef_server", options: { url: "http://localhost:#{CHEF_SERVER_PORT}", client_name: "reset", - client_key: fixtures_path.join("reset.pem") + client_key: File.expand_path("spec/config/berkshelf.pem") } } ] Berkshelf::RSpec::ChefServer.start(port: CHEF_SERVER_PORT)