diff options
author | Serdar Sutay <serdar@opscode.com> | 2014-12-09 08:25:34 -0800 |
---|---|---|
committer | Serdar Sutay <serdar@opscode.com> | 2014-12-09 08:25:34 -0800 |
commit | e7953716e2a5a689c1d698cd507ec400b509fd3f (patch) | |
tree | 5d2e5cafec11ca26e0d648eeda60d796a2880bdc /spec/unit/application | |
parent | ede404fef4ae02cccca0f8ca653b2200d76a1679 (diff) | |
download | chef-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.rb | 1 |
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 |