summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2020-08-14 18:24:58 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2020-08-14 18:24:58 -0700
commitb2acd574f7273b823789dfd3dfbc626474dbae67 (patch)
tree2ab14717484b505cf6db78572a9d06b8f1607da5
parentedd64d4ca255ea99c0ca214364070a58532dd15a (diff)
downloadchef-lcg/fix-bootstrapping-path-issues.tar.gz
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--spec/unit/knife/core/windows_bootstrap_context_spec.rb18
1 files changed, 11 insertions, 7 deletions
diff --git a/spec/unit/knife/core/windows_bootstrap_context_spec.rb b/spec/unit/knife/core/windows_bootstrap_context_spec.rb
index ab38233714..aab351536d 100644
--- a/spec/unit/knife/core/windows_bootstrap_context_spec.rb
+++ b/spec/unit/knife/core/windows_bootstrap_context_spec.rb
@@ -148,13 +148,17 @@ describe Chef::Knife::Core::WindowsBootstrapContext do
describe "#config_content" do
before do
- bootstrap_context.instance_variable_set(:@chef_config, Mash.new(config_log_level: :info,
- config_log_location: STDOUT,
- chef_server_url: "http://chef.example.com:4444",
- validation_client_name: "chef-validator-testing",
- file_cache_path: "c:/chef/cache",
- file_backup_path: "c:/chef/backup",
- cache_options: ({ path: "c:/chef/cache/checksums", skip_expires: true })))
+ bootstrap_context.instance_variable_set(
+ :@chef_config, Mash.new(
+ config_log_level: :info,
+ config_log_location: STDOUT,
+ chef_server_url: "http://chef.example.com:4444",
+ validation_client_name: "chef-validator-testing",
+ file_cache_path: "c:/chef/cache",
+ file_backup_path: "c:/chef/backup",
+ cache_options: ({ path: "c:/chef/cache/checksums", skip_expires: true })
+ )
+ )
end
it "generates the config file data" do