It seems that assert_deprecated
is only part of ActiveSupport
. So it is not
part of rspec-expectations
. It would probably only be added to rspec-rails
but a quick google search did not turn up many uses of assert_deprecated
.
I saw no past issues logged for RSpec regarding assert_deprecated
so you are
welcome to log it and argue your case for it. Though I see it being only part of
ActiveSupport
providing some barriers to adding it into rspec-expectations
.
Now it should be fairly easy to roll your own matcher as well. There are two general approaches you could take: