Testing rescue (tdd with rspec)

Hello. I’m getting into TDD, I’m using rspec and I’m having a hard time trying to test rescues(exceptions). Can anyone please advice me on how to test exceptions with RSpec 3.8?

Thanks in advance

https://relishapp.com/rspec/rspec-expectations/v/3-9/docs/built-in-matchers/raise-error-matcher