Permalink
Browse files

Add discovery for autotest-rails (patch-ish from Ryan Davis)

[#838 state:resolved milestone:'Next Release']
  • Loading branch information...
dchelimsky committed Jun 7, 2009
1 parent 92052fc commit 0c23da7ef00d2428c3eb9aa1956d3fd1a1020ffb
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/autotest/discover.rb
View
@@ -1 +1,5 @@
-# This needs to be here for >= ZenTest-3.9.0 to add this directory to the load path.
+Autotest.add_discovery do
+ style = []
+ style << "rails" if File.exist? 'config/environment.rb'
+ style
+end

0 comments on commit 0c23da7

Please sign in to comment.