[rspec-devel] [ rspec-Bugs-15364 ] if all examples are pending, exceptions in 'before' block are not shown

noreply at rubyforge.org noreply at rubyforge.org
Mon Nov 5 15:13:25 EST 2007


Bugs item #15364, was opened at 2007-11-05 13:13
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=15364&group_id=797

Category: expectation module
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Chad Woolley (thewoolleyman)
Assigned to: Nobody (None)
Summary: if all examples are pending, exceptions in 'before' block are not shown

Initial Comment:
This is with trunk.  To reproduce:

1. make a spec with a single pending example
2. make a before block with an exception
3. run it - there are no errors reported, but return code ($?) is nonzero
4. Add a dummy non-pending example
5. run again - now you see the error reported

----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=3149&aid=15364&group_id=797


More information about the rspec-devel mailing list