summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2014-09-29 20:08:55 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2014-09-29 20:08:55 -0700
commitfe64201043a8c246bbcffee8fc39351330ee4e60 (patch)
treea05d51c1651deb215f2c71c2b4e9f08f712b5705
parentde7b8a3fbd6422ee201d0665d041951098391a88 (diff)
downloadchef-jdmundrawala/knife-bootstrap-specs.tar.gz
environment_from_file_spec passes on windowsjdmundrawala/knife-bootstrap-specs
-rw-r--r--spec/unit/knife/environment_from_file_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/knife/environment_from_file_spec.rb b/spec/unit/knife/environment_from_file_spec.rb
index ed3631fcf5..562e7f8cf5 100644
--- a/spec/unit/knife/environment_from_file_spec.rb
+++ b/spec/unit/knife/environment_from_file_spec.rb
@@ -23,6 +23,7 @@ Chef::Knife::EnvironmentFromFile.load_deps
describe Chef::Knife::EnvironmentFromFile do
before(:each) do
+ Chef::Platform.stub(:windows?) { false }
@knife = Chef::Knife::EnvironmentFromFile.new
@stdout = StringIO.new
@knife.ui.stub(:stdout).and_return(@stdout)