defunkt/resque — pull request #639 by wuputah (2012-07-16 09:50:55+00:00)
Title: Fix broken tests

Fixes two issues:

* A brittle test around `Time.now` calls, if the clock changes during the duration of the test.

* A Ruby SEGV in 1.9.3-p194 because `dir` is not happy inside the `at_exit` block; use a global instead.