diff --git a/lib/autotest/jasmine_mixin.rb b/lib/autotest/jasmine_mixin.rb index fb6d079..aea5332 100644 --- a/lib/autotest/jasmine_mixin.rb +++ b/lib/autotest/jasmine_mixin.rb @@ -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