summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2014-09-29 20:03:19 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2014-09-29 20:03:19 -0700
commit154b608d8a8a4a864f22a06cc38ce0fc78a2a978 (patch)
treea693980d2cb2a54189da36098383b80d7264a8a6
parentb36c58f69e74783a19818681dfe4d0ddaf400a2a (diff)
downloadchef-154b608d8a8a4a864f22a06cc38ce0fc78a2a978.tar.gz
data_bag_from_file_spec passes on windows
-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)