[rspec-users] How to execute code if a rspec test fails

Rishi Gh lists at ruby-forum.com
Sat May 23 08:13:30 EDT 2009

I am trying to make a call to a class/fxn I made, depending on whether
an Rspec test fails. If it fails, I want to make the call, otherwise I
won't need to.
Is there some error message or specific syntax for checking this? Also,
WHERE should I place this to pickup failed tests, and make the call?
Posted via http://www.ruby-forum.com/.

More information about the rspec-users mailing list