RSpec: Why does instance_double work with StandardError, but not other exception classes?
RSpec: Why does instance_double work with StandardError, but not other exception classes?
I hope you found a solution that worked for you :)
The Content (except music & images) is licensed under (https://meta.stackexchange.com/help/licensing)CC BY-SA
Thanks to all those great people for their contributions!
(stackoverflow.com/users/3092183/richard-degenne)Richard-Degenne
(stackoverflow.com/users/1978251/engineersmnky)engineersmnky
(stackoverflow.com/users/81216/tonyarra)TonyArra
A special thanks goes out to the (https://stackoverflow.com/questions/76869758/rspec-why-does-instance-double-work-with-standarderror-but-not-other-excepti)Stackexchange community
I wish you all a wonderful day! Stay safe :)
exception mocking rspec ruby