Skip to content
Create a gist now

Instantly share code, notes, and snippets.

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.