diff options
author | danielsdeleo <dan@getchef.com> | 2015-05-13 19:20:32 -0700 |
---|---|---|
committer | danielsdeleo <dan@getchef.com> | 2015-05-20 15:13:57 -0700 |
commit | 68d6b10124b96012594d0a4fbe099eda738111b3 (patch) | |
tree | 3530dc61c41fb3203de925bdbd7ca798cdd246c6 /spec/unit/data_bag_spec.rb | |
parent | 1428270b0f2d0f2ae5d62ecb2aa512ffa7ac773e (diff) | |
download | chef-68d6b10124b96012594d0a4fbe099eda738111b3.tar.gz |
Stub `windows?` on ChefConfig so it applies to config
Diffstat (limited to 'spec/unit/data_bag_spec.rb')
-rw-r--r-- | spec/unit/data_bag_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/data_bag_spec.rb b/spec/unit/data_bag_spec.rb index f6db1e222a..bd9a99a1de 100644 --- a/spec/unit/data_bag_spec.rb +++ b/spec/unit/data_bag_spec.rb @@ -22,7 +22,7 @@ require 'chef/data_bag' describe Chef::DataBag do before(:each) do @data_bag = Chef::DataBag.new - allow(Chef::Platform)::to receive(:windows?) { false } + allow(ChefConfig).to receive(:windows?) { false } end describe "initialize" do |