public
Created

  • Download Gist
gistfile1.diff
Diff
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
diff --git a/lib/rspec/core/hooks.rb b/lib/rspec/core/hooks.rb
index ea3ca91..b55b685 100644
--- a/lib/rspec/core/hooks.rb
+++ b/lib/rspec/core/hooks.rb
@@ -20,7 +20,10 @@ module RSpec
include HookExtension
def run(example)
- example.instance_eval(&self)
+ begin
+ example.instance_eval(&self)
+ rescue
+ end
end
def display_name

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.