justinweiss/resque_unit — pull request #29 by rubiii (2012-05-29 20:16:28+00:00)
Title: Fix a problem where Rake passes task arguments to TestUnit

Unfortunately Rake 0.9 doesn't remove processed arguments (e.g. db:migrate) from ARGV and TestUnit when requirering "test/unit" tries to process ARGV and therefore tries to test arbitary rake task arguments.

Simply requirering "test/unit/testcase" works around the problem and seems to work fine.
Further information can be found here: http://stackoverflow.com/a/9571551/279024