CFINSPEC-94: Remove deprecation of has_uid? matcher

Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
Sonu Saha 2022-03-23 14:45:44 +05:30
parent 3f294bfbe1
commit a0d40a5d9c

View file

@ -271,7 +271,6 @@ module Inspec::Resources
# implements rspec has matcher, to be compatible with serverspec
# @see: https://github.com/rspec/rspec-expectations/blob/master/lib/rspec/matchers/built_in/has.rb
def has_uid?(compare_uid)
Inspec.deprecate(:resource_user_serverspec_compat, "The user resource `has_uid?` matcher is deprecated.")
uid == compare_uid
end