Add rspec exit helpers
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
module ExitHelpers
|
||||
def trap_exit
|
||||
yield
|
||||
rescue SystemExit
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user