<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>mack-mailer/lib/testing.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -13,50 +13,6 @@ end
 
 require File.join(File.dirname(__FILE__), &quot;mailer&quot;)
 
-require File.join(File.dirname(__FILE__), &quot;loader&quot;)
+require File.join(File.dirname(__FILE__), &quot;testing&quot;)
 
-if Mack.env == &quot;test&quot;
-  
-  def delivered_emails
-    Mack::Mailer::DeliveryHandlers::Test::EmailRegistry.registered_items
-  end
-  
-  module Spec # :nodoc:
-    module Example # :nodoc:
-      module ExampleMethods # :nodoc:
-        include Mack::Routes::Urls
-        include Mack::Testing::Helpers
-
-        alias_method :email_spec_execute, :execute
-
-        def execute(options, instance_variables)
-          @__res = email_spec_execute(options, instance_variables)
-          Mack::Mailer::DeliveryHandlers::Test::EmailRegistry.reset!
-          @__res
-        end
-
-      end # ExampleMethods
-    end # Example
-  end # Spec
-  
-  module Test # :nodoc:
-    module Unit # :nodoc:
-      class TestCase # :nodoc:
-
-        # Let's alias the run method in the class above us so we can create a new one here
-        # but still reference it.
-        alias_method :super_run, :run # :nodoc:
-
-        # We need to wrap the run method so we can do things like
-        # run a cleanup method if it exists
-        def run(result, &amp;progress_block) # :nodoc:
-          @__res = super_run(result)
-          Mack::Mailer::DeliveryHandlers::Test::EmailRegistry.reset!
-          @__res
-        end
-
-      end # TestCase
-    end # Unit
-  end # Test
-  
-end
\ No newline at end of file
+require File.join(File.dirname(__FILE__), &quot;loader&quot;)
\ No newline at end of file</diff>
      <filename>mack-mailer/lib/mack-mailer.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a356a5519ca565ab703e3a646459787e00c4f605</id>
    </parent>
  </parents>
  <author>
    <name>Mark Bates</name>
    <email>mark@markbates.com</email>
  </author>
  <url>http://github.com/markbates/mack-more/commit/604a0c8fa5bf8664f2157e5c9c34b69b8028bec5</url>
  <id>604a0c8fa5bf8664f2157e5c9c34b69b8028bec5</id>
  <committed-date>2008-07-24T12:29:28-07:00</committed-date>
  <authored-date>2008-07-24T12:29:28-07:00</authored-date>
  <message>Moved the testing extensions to a new file.</message>
  <tree>309a5879764f00b3a03dd1665665ac5d38cc885d</tree>
  <committer>
    <name>Mark Bates</name>
    <email>mark@markbates.com</email>
  </committer>
</commit>
