Hi
   inside an after :each block, whats the best way to find out if the
current spec has run? Right now the only solution I have is
self.example.instance_variable_get(:@exception).nil?. Is there a
better solution?

Also, is there an on_error hook I can use instead of an after :each block?

thanks
Vishnu
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to