Please sign in to comment.
Adding 'pending' support from within example (paired with Kabari
Hendrick). Closes #7.
- Loading branch information...
Showing with 49 additions and 16 deletions.
|@@ -0,0 +1,14 @@|
|+ module Core|
|+ # If Test::Unit is loaed, we'll use its error as baseclass, so that Test::Unit|
|+ # will report unmet RSpec expectations as failures rather than errors.|
|+ superclass = ['Test::Unit::AssertionFailedError', '::StandardError'].map do |c||
|+ eval(c) rescue nil|
|+ class PendingExampleFixedError < superclass|