summaryrefslogtreecommitdiff
path: root/spec/unit/knife/data_bag_from_file_spec.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2019-09-05 14:20:52 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2019-09-05 14:20:52 -0700
commit37a72ed07c6d7ecfbecc71203cc3ac7e3fb69352 (patch)
tree22443116594a05fdd8cd222a607e5c5d0bf1f88c /spec/unit/knife/data_bag_from_file_spec.rb
parenta49e9c58e399c1514cdcabfdf0f50451935d0df4 (diff)
downloadchef-37a72ed07c6d7ecfbecc71203cc3ac7e3fb69352.tar.gz
checkpointlcg/chef-sugar
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
Diffstat (limited to 'spec/unit/knife/data_bag_from_file_spec.rb')
-rw-r--r--spec/unit/knife/data_bag_from_file_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/unit/knife/data_bag_from_file_spec.rb b/spec/unit/knife/data_bag_from_file_spec.rb
index 3bea392ae2..373a110f57 100644
--- a/spec/unit/knife/data_bag_from_file_spec.rb
+++ b/spec/unit/knife/data_bag_from_file_spec.rb
@@ -1,6 +1,6 @@
#
# Author:: Seth Falcon (<seth@chef.io>)
-# Copyright:: Copyright 2010-2016, Chef Software Inc.
+# Copyright:: Copyright 2010-2018, Chef Software Inc.
# License:: Apache License, Version 2.0
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -26,7 +26,7 @@ Chef::Knife::DataBagFromFile.load_deps
describe Chef::Knife::DataBagFromFile do
before :each do
- allow(ChefConfig).to receive(:windows?) { false }
+ allow(ChefHelpers).to receive(:windows?) { false }
Chef::Config[:node_name] = "webmonkey.example.com"
FileUtils.mkdir_p([db_folder, db_folder2])
db_file.write(Chef::JSONCompat.to_json(plain_data))