I think
raise_on_warning
only applies to RSpec warnings. Confusing. It sets RSpec::Support.warning_notifier
which is only used in the internal RSpec method RSpec::Support#warn_with
. See this code search. You might want to raise an issue with rspec-core to ask them to clarify.