Add rspec exit helpers

This commit is contained in:
Thibault Jouan 2015-04-07 17:33:35 +00:00
parent 1658a616a8
commit f38a5761be

View File

@ -0,0 +1,6 @@
module ExitHelpers
def trap_exit
yield
rescue SystemExit
end
end