diff options
author | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-11-05 12:20:03 -0800 |
---|---|---|
committer | Jay Mundrawala <jdmundrawala@gmail.com> | 2015-11-05 12:20:03 -0800 |
commit | 6af4905131979f5b051ace0e3850ab555e964080 (patch) | |
tree | 734b0fb187e532e6f6bc2af9b026b0e9ce48f21a /spec/unit/knife_spec.rb | |
parent | e9e70d503a92ddeed6881e02463d39036648edd9 (diff) | |
download | chef-6af4905131979f5b051ace0e3850ab555e964080.tar.gz |
Fixed knife_spec unit test
This is failing on both my and btm's machine. No idea how it passes
in other places.
Diffstat (limited to 'spec/unit/knife_spec.rb')
-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 |