From fe1b2c37e6a177ad9ee1be8ef259b7d62e1f72ed Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Tue, 6 Mar 2018 10:33:36 -0800 Subject: ruby-2.5 changes Signed-off-by: Lamont Granquist --- spec/unit/win32/security_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/unit/win32/security_spec.rb b/spec/unit/win32/security_spec.rb index 9d98ccdf49..b5e441f2a0 100644 --- a/spec/unit/win32/security_spec.rb +++ b/spec/unit/win32/security_spec.rb @@ -59,7 +59,7 @@ describe "Chef::Win32::Security", :windows_only do expect(Chef::ReservedNames::Win32::Security).to receive(:SetNamedSecurityInfoW).and_return( Chef::ReservedNames::Win32::API::Error::ERROR_USER_NOT_FOUND ) - expect { Chef::ReservedNames::Win32::Security.set_named_security_info "/temp_path", :SE_FILE_OBJECT, {} }.to raise_error Chef::Exceptions::Chef::Exceptions::UserIDNotFound + expect { Chef::ReservedNames::Win32::Security.set_named_security_info "/temp_path", :SE_FILE_OBJECT, {} }.to raise_error Chef::Exceptions::UserIDNotFound end end end -- cgit v1.2.1