summaryrefslogtreecommitdiff
path: root/knife/spec
diff options
context:
space:
mode:
Diffstat (limited to 'knife/spec')
-rw-r--r--knife/spec/unit/knife/core/bootstrap_context_spec.rb12
-rw-r--r--knife/spec/unit/knife/core/windows_bootstrap_context_spec.rb4
2 files changed, 8 insertions, 8 deletions
diff --git a/knife/spec/unit/knife/core/bootstrap_context_spec.rb b/knife/spec/unit/knife/core/bootstrap_context_spec.rb
index 79fddc8184..97cbc7a259 100644
--- a/knife/spec/unit/knife/core/bootstrap_context_spec.rb
+++ b/knife/spec/unit/knife/core/bootstrap_context_spec.rb
@@ -80,16 +80,16 @@ describe Chef::Knife::Core::BootstrapContext do
end
end
- describe "when file_cache_path is set" do
- let(:chef_config) { { file_cache_path: "/home/opscode/cache" } }
- it "sets file_cache_path in the generated config file" do
+ describe "when unix_bootstrap_file_cache_path is set" do
+ let(:chef_config) { { unix_bootstrap_file_cache_path: "/home/opscode/cache" } }
+ it "sets unix_bootstrap_file_cache_path in the generated config file" do
expect(bootstrap_context.config_content).to include("file_cache_path \"/home/opscode/cache\"")
end
end
- describe "when file_backup_path is set" do
- let(:chef_config) { { file_backup_path: "/home/opscode/backup" } }
- it "sets file_backup_path in the generated config file" do
+ describe "when unix_bootstrap_file_backup_path is set" do
+ let(:chef_config) { { unix_bootstrap_file_backup_path: "/home/opscode/backup" } }
+ it "sets unix_bootstrap_file_backup_path in the generated config file" do
expect(bootstrap_context.config_content).to include("file_backup_path \"/home/opscode/backup\"")
end
end
diff --git a/knife/spec/unit/knife/core/windows_bootstrap_context_spec.rb b/knife/spec/unit/knife/core/windows_bootstrap_context_spec.rb
index af656facf0..61d349a93d 100644
--- a/knife/spec/unit/knife/core/windows_bootstrap_context_spec.rb
+++ b/knife/spec/unit/knife/core/windows_bootstrap_context_spec.rb
@@ -154,8 +154,8 @@ describe Chef::Knife::Core::WindowsBootstrapContext do
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",
+ windows_bootstrap_file_cache_path: "c:/chef/cache",
+ windows_bootstrap_file_backup_path: "c:/chef/backup",
cache_options: ({ path: "c:/chef/cache/checksums", skip_expires: true })
)
)