summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xbin/bacon6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/bacon b/bin/bacon
index 955142b..bf3af97 100755
--- a/bin/bacon
+++ b/bin/bacon
@@ -90,9 +90,9 @@ opts = OptionParser.new("", 24, '  ') { |opts|
 files = ARGV
 
 if automatic
-  files.concat Dir["test/test_*.rb"]
-  files.concat Dir["test/spec_*.rb"]
-  files.concat Dir["spec/spec_*.rb"]
+  files.concat Dir["test/**/test_*.rb"]
+  files.concat Dir["test/**/spec_*.rb"]
+  files.concat Dir["spec/**/spec_*.rb"]
 end
 
 if files.empty?