diff options
-rwxr-xr-x | bin/bacon | 6 |
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? |