diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-08-11 13:30:10 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-08-12 14:02:34 -0700 |
commit | 4848c89b7cc5e4a4d4fac7c8bff962f7df69f719 (patch) | |
tree | cf1bc6d0b30f226573da88158049f1334b6ce1bd /spec/functional/win32 | |
parent | 798cac61accc035b51aaac25160bf1d5e9715252 (diff) | |
download | chef-exist.tar.gz |
File.exists? -> File.exist?exist
Update some of these methods
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/functional/win32')
-rw-r--r-- | spec/functional/win32/service_manager_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/win32/service_manager_spec.rb b/spec/functional/win32/service_manager_spec.rb index 4847ce0482..5746283b78 100644 --- a/spec/functional/win32/service_manager_spec.rb +++ b/spec/functional/win32/service_manager_spec.rb @@ -125,7 +125,7 @@ describe "Chef::Application::WindowsServiceManager", :windows_only, :system_wind it "start should start the service", :volatile do service_manager.run(["-a", "start"]) expect(test_service_state).to eq("running") - expect(File.exists?(test_service_file)).to be_truthy + expect(File.exist?(test_service_file)).to be_truthy end it "stop should not affect the service" do |