summaryrefslogtreecommitdiff
path: root/spec/unit/application
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2014-12-09 08:25:34 -0800
committerSerdar Sutay <serdar@opscode.com>2014-12-09 08:25:34 -0800
commite7953716e2a5a689c1d698cd507ec400b509fd3f (patch)
tree5d2e5cafec11ca26e0d648eeda60d796a2880bdc /spec/unit/application
parentede404fef4ae02cccca0f8ca653b2200d76a1679 (diff)
downloadchef-e7953716e2a5a689c1d698cd507ec400b509fd3f.tar.gz
Stub windows? check in the unit test to make sure specs are green on windows.
Diffstat (limited to 'spec/unit/application')
-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 4e33565d9e..c2d3ec0507 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