1 runs, 1 assertions, 0 failures, 0 errors, 0 skip So we can imagine that if the mentioned issue was not a problem, we could trigger running specs at the end of file with one line and avoid using at_exit .