public
Description: Behaviour Driven Development framework for Ruby
Homepage: http://rspec.info
Clone URL: git://github.com/dchelimsky/rspec.git
Click here to lend your support to: rspec and make a donation at www.pledgie.com !
Avoid ruby invocation errors when autotesting

Signed-off-by: Jonathan del Strother <jon.delStrother@bestbefore.tv>
Jonathan del Strother (author)
Tue Aug 05 10:04:55 -0700 2008
commit  c0ba1fcdab4c30b0075b326119b23bc196ad5355
tree    c5954d3336beeba38ab1cece921cfd384e49e8e6
parent  59128a36e46becf3045ffe6ab4a32bb10f0ab8e9
...
36
37
38
 
39
40
41
...
36
37
38
39
40
41
42
0
@@ -36,6 +36,7 @@ class Autotest::Rspec < Autotest
0
   end
0
 
0
   def make_test_cmd(files_to_test)
0
+    return '' if files_to_test.empty?
0
     return "#{ruby} -S #{files_to_test.keys.flatten.join(' ')} #{add_options_if_present}"
0
   end
0
   

Comments