summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSerdar Sutay <serdar@opscode.com>2014-12-09 09:43:26 -0800
committerSerdar Sutay <serdar@opscode.com>2014-12-09 09:43:26 -0800
commit5c0165638aa61788413c7864992e64576374f32a (patch)
tree5d2e5cafec11ca26e0d648eeda60d796a2880bdc
parentede404fef4ae02cccca0f8ca653b2200d76a1679 (diff)
parente7953716e2a5a689c1d698cd507ec400b509fd3f (diff)
downloadchef-5c0165638aa61788413c7864992e64576374f32a.tar.gz
Merge pull request #2584 from opscode/sersut/win-spec-fix
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 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