CFINSPEC-94: Remove deprecation of has_home_directory? matcher

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
Sonu Saha 2022-03-23 13:41:50 +05:30
parent 4ed3d4bcc7
commit 50fc284a43

View file

@ -276,7 +276,6 @@ module Inspec::Resources
end
def has_home_directory?(compare_home)
Inspec.deprecate(:resource_user_serverspec_compat, "The user resource `has_home_directory?` matcher is deprecated. Please use `its('home')`.")
home == compare_home
end