diff options
Diffstat (limited to 'spec/functional/win32/security_spec.rb')
-rw-r--r-- | spec/functional/win32/security_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/functional/win32/security_spec.rb b/spec/functional/win32/security_spec.rb index 4ad9b07b74..a6b5d57748 100644 --- a/spec/functional/win32/security_spec.rb +++ b/spec/functional/win32/security_spec.rb @@ -23,7 +23,7 @@ end describe 'Chef::Win32::Security', :windows_only do it "has_admin_privileges? returns true when running as admin" do - Chef::ReservedNames::Win32::Security.has_admin_privileges?.should == true + expect(Chef::ReservedNames::Win32::Security.has_admin_privileges?).to eq(true) end # We've done some investigation adding a negative test and it turned |