mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
CFINSPEC-94: Remove deprecation of has_uid? matcher
Signed-off-by: Sonu Saha <sonu.saha@progress.com>
This commit is contained in:
parent
3f294bfbe1
commit
a0d40a5d9c
1 changed files with 0 additions and 1 deletions
|
@ -271,7 +271,6 @@ module Inspec::Resources
|
||||||
# implements rspec has matcher, to be compatible with serverspec
|
# 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
|
# @see: https://github.com/rspec/rspec-expectations/blob/master/lib/rspec/matchers/built_in/has.rb
|
||||||
def has_uid?(compare_uid)
|
def has_uid?(compare_uid)
|
||||||
Inspec.deprecate(:resource_user_serverspec_compat, "The user resource `has_uid?` matcher is deprecated.")
|
|
||||||
uid == compare_uid
|
uid == compare_uid
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue