Okay,
If I add this to my .autospec file
class Autotest::Rspec
def make_test_cmd(files_to_test)
return '' if files_to_test.empty?
return "spec #{files_to_test.keys.flatten.join(' ')}
#{add_options_if_present}"
end
end
It works.
This replaces a method defined in the rspec gem in lib/autotest/rspec.rb
def make_test_cmd(files_to_test)
return '' if files_to_test.empty?
return "#{ruby} -S #{files_to_test.keys.flatten.join(' ')}
#{add_options_if_present}"
end
I guess I need to file a bug report?!?
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users