Is there any way, within a test (e.g., in an after block), to see whether the test is currently passing, failing, or pending? Even a hack-ish kind of way? I''m just curious. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20110211/9e369700/attachment.html>
I''m trying to imagine a use case (and usage) of this. Could you give me an example of how you would want to write it and what for? On Friday, February 11, 2011, Andrew Wagner <wagner.andrew at gmail.com> wrote:> Is there any way, within a test (e.g., in an after block), to see whether the test is currently passing, failing, or pending? Even a hack-ish kind of way? I''m just curious. >