From 50fc284a433cfed01f084302b65b84fb7a488651 Mon Sep 17 00:00:00 2001 From: Sonu Saha Date: Wed, 23 Mar 2022 13:41:50 +0530 Subject: [PATCH] CFINSPEC-94: Remove deprecation of has_home_directory? matcher Signed-off-by: Sonu Saha --- lib/inspec/resources/users.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/inspec/resources/users.rb b/lib/inspec/resources/users.rb index f4336c479..98975f637 100644 --- a/lib/inspec/resources/users.rb +++ b/lib/inspec/resources/users.rb @@ -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