diff options
Diffstat (limited to 'spec/support/platforms/win32/spec_service.rb')
-rw-r--r-- | spec/support/platforms/win32/spec_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/platforms/win32/spec_service.rb b/spec/support/platforms/win32/spec_service.rb index 34bb1fe3db..27f71a8bf0 100644 --- a/spec/support/platforms/win32/spec_service.rb +++ b/spec/support/platforms/win32/spec_service.rb @@ -26,7 +26,7 @@ if RUBY_PLATFORM.match?(/mswin|mingw|windows/) def service_main(*startup_parameters) while running? - unless File.exists?(@test_service_file) + unless File.exist?(@test_service_file) File.open(@test_service_file, "wb") do |f| f.write("This file is created by SpecService") end |