summaryrefslogtreecommitdiff
path: root/spec/unit/knife_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/knife_spec.rb')
-rw-r--r--spec/unit/knife_spec.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/unit/knife_spec.rb b/spec/unit/knife_spec.rb
index 9e76ec59c4..9ccd91775f 100644
--- a/spec/unit/knife_spec.rb
+++ b/spec/unit/knife_spec.rb
@@ -33,7 +33,10 @@ describe Chef::Knife do
let(:config_location) { File.expand_path("~/.chef/config.rb") }
let(:config_loader) do
- instance_double("WorkstationConfigLoader", load: nil, no_config_found?: false, config_location: config_location)
+ instance_double("WorkstationConfigLoader",
+ load: nil, no_config_found?: false,
+ config_location: config_location,
+ :chef_config_dir => "/etc/chef")
end
before(:each) do