summaryrefslogtreecommitdiff
path: root/spec/support/shared
diff options
context:
space:
mode:
authorKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-07-14 11:58:21 -0400
committerKartik Null Cating-Subramanian <ksubramanian@chef.io>2015-07-20 12:23:45 -0400
commit23dc9708d60e7db1b894fa1027d1f8d1da7baca1 (patch)
tree0114e6ef05bc5f2db6e5fedfc0ce9925714a06e4 /spec/support/shared
parentde5fd05da851af01e960266feda9ce74b03e9bc6 (diff)
downloadchef-23dc9708d60e7db1b894fa1027d1f8d1da7baca1.tar.gz
Make service manager tests pass.
Diffstat (limited to 'spec/support/shared')
-rw-r--r--spec/support/shared/functional/win32_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/support/shared/functional/win32_service.rb b/spec/support/shared/functional/win32_service.rb
index 7dd1920418..2ee1a8ad88 100644
--- a/spec/support/shared/functional/win32_service.rb
+++ b/spec/support/shared/functional/win32_service.rb
@@ -46,7 +46,8 @@ shared_context "using Win32::Service" do
:service_name => "spec-service",
:service_display_name => "Spec Test Service",
:service_description => "Service for testing Chef::Application::WindowsServiceManager.",
- :service_file_path => File.expand_path(File.join(File.dirname(__FILE__), '../../platforms/win32/spec_service.rb'))
+ :service_file_path => File.expand_path(File.join(File.dirname(__FILE__), '../../platforms/win32/spec_service.rb')),
+ :delayed_start => true
}
}