summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith84@gmail.com>2020-03-20 23:32:17 -0700
committerTim Smith <tsmith84@gmail.com>2020-03-20 23:32:17 -0700
commitf27af6efeece0aee84b27cfa628bd26e6248e4b4 (patch)
tree0437bbd2337b22036d821b8464d8f59cf885a33b
parentb3509511cde8822693e86c98f9834e0508630f20 (diff)
downloadchef-fix_windows_specs.tar.gz
Revert windows server manager spec helperfix_windows_specs
This was causing our specs to fail Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--spec/support/chef_helpers.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/chef_helpers.rb b/spec/support/chef_helpers.rb
index e5371e60a9..fd61f5f0b8 100644
--- a/spec/support/chef_helpers.rb
+++ b/spec/support/chef_helpers.rb
@@ -63,7 +63,7 @@ end
# win32/service gem. windows_service_manager tests create a windows
# service that starts with the system ruby and requires this gem.
def system_windows_service_gem?
- windows_service_gem_check_command = %{ruby -r "win32/daemon" -e ":noop" > #{DEV_NULL} 2>&1}
+ windows_service_gem_check_command = %q{ruby -r "win32/daemon" -e ":noop"}
if defined?(Bundler)
Bundler.with_unbundled_env do
# This returns true if the gem can be loaded