fix autotest so it can work with changed files

This commit is contained in:
John Bintz 2011-05-12 07:26:14 -04:00
parent b2571b4e3e
commit 97ba0b329b

View File

@ -87,7 +87,8 @@ module JasmineMixin
end
def make_jasmine_cmd
"#{JASMINE_PROGRAM}"
self.files_to_test.empty? ? '' :
%{#{JASMINE_PROGRAM} #{self.files_to_test.keys.collect { |key| %{'#{key}'} }.join(' ')}}.tap { |o| p o }
end
def setup_jasmine_project_mappings