<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -18,9 +18,9 @@ module ActiveSupport
             alias_method :run, :run_with_callbacks_and_miniunit
           else
             begin
-              gem 'mocha'
+              require 'mocha'
               alias_method :run, :run_with_callbacks_and_mocha
-            rescue Gem::LoadError
+            rescue LoadError
               alias_method :run, :run_with_callbacks_and_testunit
             end
           end</diff>
      <filename>activesupport/lib/active_support/testing/setup_and_teardown.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4d5ac3f3d2e1667971752c9a4e536de1a5bec364</id>
    </parent>
  </parents>
  <author>
    <name>Jeremy Kemper</name>
    <email>jeremy@bitsweat.net</email>
  </author>
  <url>http://github.com/ddollar/rails/commit/d7462ea36550bd59cfbcd7961f5870c49bcf8963</url>
  <id>d7462ea36550bd59cfbcd7961f5870c49bcf8963</id>
  <committed-date>2008-06-23T00:31:49-07:00</committed-date>
  <authored-date>2008-06-23T00:31:49-07:00</authored-date>
  <message>Revert &quot;Check for mocha gem without requiring the lib.  [#403 state:resolved]&quot;

This reverts commit 4d5ac3f3d2e1667971752c9a4e536de1a5bec364.</message>
  <tree>10bf700bcc147535ee694ce39cd4d4d110383b8d</tree>
  <committer>
    <name>Jeremy Kemper</name>
    <email>jeremy@bitsweat.net</email>
  </committer>
</commit>
