summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2014-12-09 08:25:34 -0800
committerBryan McLellan <btm@loftninjas.org>2015-01-20 16:35:17 -0500
commit59f397fdd3084e8446134cc3402e2680716718e8 (patch)
tree2166d6822efe83e13e67f8d3c29fef6dfe1615dc
parentee91ed0ca0786e65241a8836c3ad121bba3257a8 (diff)
downloadchef-59f397fdd3084e8446134cc3402e2680716718e8.tar.gz
Stub windows? check in the unit test to make sure specs are green on windows.
-rw-r--r--spec/unit/application/client_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/unit/application/client_spec.rb b/spec/unit/application/client_spec.rb
index a91209cfee..2f6bd1b21e 100644
--- a/spec/unit/application/client_spec.rb
+++ b/spec/unit/application/client_spec.rb
@@ -50,6 +50,7 @@ describe Chef::Application::Client, "reconfigure" do
context "when interval is given" do
before do
Chef::Config[:interval] = 600
+ allow(Chef::Platform).to receive(:windows?).and_return(false)
end
it "should terminate with message" do