<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -13,6 +13,11 @@ if ActiveSupport.const_defined?(:Callbacks) &amp;&amp; Test::Unit::TestCase.include?(Act
     setup :do_some_setup
     teardown :do_some_teardown
     
+    @@has_been_run = false
+    def self.run?
+      @@has_been_run
+    end
+    
     def do_some_setup
       @@setup_callback_count += 1
     end
@@ -23,6 +28,7 @@ if ActiveSupport.const_defined?(:Callbacks) &amp;&amp; Test::Unit::TestCase.include?(Act
     
     def test_something
       assert_equal true, true
+      @@has_been_run = true
     end
     
     def teardown
@@ -38,7 +44,7 @@ if ActiveSupport.const_defined?(:Callbacks) &amp;&amp; Test::Unit::TestCase.include?(Act
     module Unit
       describe &quot;Running TestCase tests&quot; do
         before(:all) do
-          TestUnitTesting.run
+          TestUnitTesting.run unless TestUnitTesting.run?
         end
         
         it &quot;should call the setup callbacks&quot; do</diff>
      <filename>spec/rails/interop/testcase_spec.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>d365303526f44d961349db22d3b94b0d092bf4e9</id>
    </parent>
  </parents>
  <author>
    <name>Jonathan del Strother</name>
    <email>jon.delStrother@bestbefore.tv</email>
  </author>
  <url>http://github.com/jdelStrother/rspec-rails/commit/7102bb152d831a20cc21963bfcf37b8009d25fc9</url>
  <id>7102bb152d831a20cc21963bfcf37b8009d25fc9</id>
  <committed-date>2008-07-12T09:04:26-07:00</committed-date>
  <authored-date>2008-07-12T09:04:26-07:00</authored-date>
  <message>Only run TestUnitTesting once

Was getting run once from the register_at_exit_hook magic, and once from being explicitly called in the spec</message>
  <tree>839bd4d984a4073f1a1c1149838a1340e9978170</tree>
  <committer>
    <name>Jonathan del Strother</name>
    <email>jon.delStrother@bestbefore.tv</email>
  </committer>
</commit>
