Skip to content
Browse files

fix pending for raises

  • Loading branch information...
1 parent 9ee72d0 commit 4fd45c18e2b02d8960af2d6619534a605a78da60 @geemus geemus committed Mar 10, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 lib/shindo.rb
View
2 lib/shindo.rb
@@ -118,6 +118,8 @@ def assert(type, expectation, description, &block)
when :raises
value = begin
instance_eval(&block)
+ rescue Shindo::Pending
+ @pending = true
rescue => error
error
end

0 comments on commit 4fd45c1

Please sign in to comment.
Something went wrong with that request. Please try again.