method
make_test_cmd
1.2.0 -
Show latest stable
- Class:
Autotest::Rspec
make_test_cmd(files_to_test)public
No documentation available.
# File lib/autotest/rspec.rb, line 38
def make_test_cmd(files_to_test)
return '' if files_to_test.empty?
spec_program = File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'bin', 'spec'))
return "#{ruby} #{spec_program} --autospec #{files_to_test.keys.flatten.join(' ')} #{add_options_if_present}"
end