mercredi 22 février 2017

How to test whether any exception was rescued?

Is there a way to find out whether any exception was raised and rescued during the execution of some code?

Preferably in tests written with ActiveSupport::TestCase and not RSpec

Aucun commentaire:

Enregistrer un commentaire