diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-11-05 13:06:52 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-11-05 13:06:52 -0800 |
commit | 2e09c06915ca8602223d83bf351d439d5c7e9e4f (patch) | |
tree | 734b0fb187e532e6f6bc2af9b026b0e9ce48f21a | |
parent | e9e70d503a92ddeed6881e02463d39036648edd9 (diff) | |
parent | 6af4905131979f5b051ace0e3850ab555e964080 (diff) | |
download | chef-2e09c06915ca8602223d83bf351d439d5c7e9e4f.tar.gz |
Merge pull request #4143 from chef/jdm/wat
Fixed knife_spec unit test
-rw-r--r-- | spec/unit/knife_spec.rb | 5 |
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 |