rspec deprecation warnings when using ChefSpec matchers
Closed this issue · 4 comments
rmoriz commented
LogrotateAppMatcher implements a legacy RSpec matcher
protocol. For the current protocol you should expose the failure messages
via the `failure_message` and `failure_message_when_negated` methods.
stevendanna commented
Thanks for reporting this @rmoriz apologies on the delayed acknowledgement. I believe that fixing this would limit the version of rspec that users can use. I'm OK with that, just noting it here to make sure it is included in the release notes once it is fixed.
rmoriz commented
looks like, but not yet merged/released
stevendanna commented
This should be fixed now.