method
make_test_cmd
make_test_cmd(files_to_test)
public
Hide source
# 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