<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -10,7 +10,7 @@ class TestCase
   end
 
   def target
-    &quot;/javascripts/#{relative_path.gsub('_test', '')}&quot;
+    &quot;/javascripts/#{relative_path.gsub(/(_test|_spec)/, '')}&quot;
   end
 
   def content
@@ -39,7 +39,7 @@ class TestCase
 
   def html_fixtures
     path = File.dirname(File.expand_path(@path).gsub(@test_directory, &quot;#{@test_directory}/fixtures&quot;))
-    path = File.expand_path(path + &quot;/#{name.gsub('_test', '_fixtures.html')}&quot;)
+    path = File.expand_path(path + &quot;/#{name.gsub(/(_test|_spec)/, '_fixtures.html')}&quot;)
     File.new(path).read rescue &quot;&quot;
   end
 end
\ No newline at end of file</diff>
      <filename>lib/hanoi/test_case.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>afe174ba7df873ce7cde9078e5aabe0d277554ee</id>
    </parent>
  </parents>
  <author>
    <name>Luca Guidi</name>
    <email>guidi.luca@gmail.com</email>
  </author>
  <url>http://github.com/jodosha/hanoi/commit/18b96430d4914573ce4bd4a92052f7611f32b89e</url>
  <id>18b96430d4914573ce4bd4a92052f7611f32b89e</id>
  <committed-date>2009-10-31T11:28:42-07:00</committed-date>
  <authored-date>2009-10-31T11:28:42-07:00</authored-date>
  <message>TestCase#target should consider both _test and _spec suffix</message>
  <tree>1d3c0490ec26cd620c2e98defaddb7032e36d0f6</tree>
  <committer>
    <name>Luca Guidi</name>
    <email>guidi.luca@gmail.com</email>
  </committer>
</commit>
