Right. You can do this with 'ruby -Ilib:test/resque test/resque/whatever_test.rb'


The line isn't needed.
—
Sent from Mailbox for iPhone

On Mon, Apr 15, 2013 at 9:35 AM, Steven Shingler <notifications@github.com>
wrote:

>> @@ -1,15 +1,13 @@
>> -require 'test_helper'
>> +require File.join(File.expand_path(File.dirname(__FILE__)), 'test_helper')
> @steveklabnik My goal was to be able to run the test on its own, using ruby test/resque/cli_test.rb - rather than through rake test.
> I didn't go for require_relative because we'd previously discussed that you didn't want to exclude MRI 1.8.* in v2.0 of Resque...?
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/resque/resque/pull/947/files#r3796983