<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -40,6 +40,14 @@ class Autotest::Railsplugin &lt; Autotest
     
   end
   
+  def path_to_classname(s)
+    sep = File::SEPARATOR
+    f = s.sub(/^test#{sep}?/, '').sub(/\.rb$/, '').split(sep)
+    f = f.map { |path| path.split(/_/).map { |seg| seg.capitalize }.join }
+    # f = f.map { |path| path =~ /Test$/ ? path : &quot;#{path}Test&quot;  }
+    f.join('::')
+  end
+  
   
 end
 </diff>
      <filename>railsplugin.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>3876f098560862ab94212505f014c708abed35a1</id>
    </parent>
  </parents>
  <author>
    <name>Ken Collins</name>
    <email>ken@metaskills.net</email>
  </author>
  <url>http://github.com/metaskills/autotest_railsplugin/commit/8b07281657dd3b9bdccfee21c4760bc151f2cdd7</url>
  <id>8b07281657dd3b9bdccfee21c4760bc151f2cdd7</id>
  <committed-date>2008-09-26T08:32:09-07:00</committed-date>
  <authored-date>2008-09-26T08:32:09-07:00</authored-date>
  <message>Adding path_to_classname. Now when tests pass, the suite will run again.</message>
  <tree>a5a94dd9fc9b82a5231e31da6d1e2151d390d729</tree>
  <committer>
    <name>Ken Collins</name>
    <email>ken@metaskills.net</email>
  </committer>
</commit>
