summaryrefslogtreecommitdiff
path: root/spec/unit/knife/data_bag_from_file_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/knife/data_bag_from_file_spec.rb')
-rw-r--r--spec/unit/knife/data_bag_from_file_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/knife/data_bag_from_file_spec.rb b/spec/unit/knife/data_bag_from_file_spec.rb
index 662af3f0d6..dba5cc282b 100644
--- a/spec/unit/knife/data_bag_from_file_spec.rb
+++ b/spec/unit/knife/data_bag_from_file_spec.rb
@@ -26,6 +26,7 @@ Chef::Knife::DataBagFromFile.load_deps
describe Chef::Knife::DataBagFromFile do
before :each do
+ Chef::Platform.stub(:windows?) { false }
Chef::Config[:node_name] = "webmonkey.example.com"
FileUtils.mkdir_p([db_folder, db_folder2])
db_file.write(plain_data.to_json)