<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,7 @@
 *Edge*
 
+* Added test/do declaration style testing to ActiveSupport::TestCase [DHH via Jay Fields]
+
 * Added Object#present? which is equivalent to !Object#blank? [DHH]
 
 * Added Enumberable#several? to encapsulate collection.size &gt; 1 [DHH]</diff>
      <filename>activesupport/CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -9,5 +9,13 @@ end
 
 module ActiveSupport
   class TestCase &lt; Test::Unit::TestCase
+    # test &quot;verify something&quot; do                                   
+    #   ...
+    # end                                                     
+    def self.test(name, &amp;block)
+      test_name = &quot;test_#{name.gsub(/[\s]/,'_')}&quot;.to_sym
+      raise &quot;#{test_name} is already defined in #{self}&quot; if self.instance_methods.include?(test_name.to_s)
+      define_method(test_name, &amp;block)
+    end
   end
-end
+end
\ No newline at end of file</diff>
      <filename>activesupport/lib/active_support/test_case.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>048ac3604cd46479002eaf7b1bb32770289580fc</id>
    </parent>
  </parents>
  <author>
    <name>David Heinemeier Hansson</name>
    <login>dhh</login>
    <email>david@loudthinking.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/f74ba37f4e4175d5a1b31da59d161b0020b58e94</url>
  <id>f74ba37f4e4175d5a1b31da59d161b0020b58e94</id>
  <committed-date>2008-06-12T18:10:38-07:00</committed-date>
  <authored-date>2008-06-12T18:10:38-07:00</authored-date>
  <message>Added test/do declaration style testing to ActiveSupport::TestCase [DHH via Jay Fields]</message>
  <tree>fee4f0c757d26e5c0355f7ed5c086b1f81c9617a</tree>
  <committer>
    <name>David Heinemeier Hansson</name>
    <login>dhh</login>
    <email>david@loudthinking.com</email>
  </committer>
</commit>
