[rspec-users] [cucumber] How to add a after failure hook?

aslak hellesoy aslak.hellesoy at gmail.com
Wed Apr 1 19:35:19 EDT 2009

2009/4/2 Tim Harper <timcharper at gmail.com>

> Is currently a way to add a upon failure hook?  I'd like to make it so
> that, in the event of a failed assertion, Webrat will take the last
> requested page and open it in a browser.


After do |scenario|
  # currently no simple way to query scenario for status though :-(

Please open a ticket for this if you really need it.


> Thanks :)
> Tim
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090402/783e8205/attachment.html>

More information about the rspec-users mailing list