From 1fa37890c1af8ec0635a47c0900af8258aef01ad Mon Sep 17 00:00:00 2001
From: Antonio Terceiro <terceiro@softwarelivre.org>
Date: Tue, 3 Mar 2015 23:04:48 -0300
Subject: [PATCH] Expand autodiscovery to autotest/discover*.rb

This allows projects to provide multiple auto discovery files for better
organization

Submitted upstream: https://github.com/seattlerb/zentest/pull/65

---
 lib/autotest.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/lib/autotest.rb
+++ b/lib/autotest.rb
@@ -234,7 +234,7 @@ class Autotest
     hacky_discovery = Gem::Specification.any? { |s| s.name =~ /^rspec/ }
     $: << '.' if hacky_discovery
 
-    Gem.find_files("autotest/discover").each do |f|
+    Gem.find_files("autotest/discover*").each do |f|
       load f
     end
 
