<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>rspec_on_rails/lib/spec/rails/interop/testcase.rb</filename>
    </added>
    <added>
      <filename>rspec_on_rails/spec/rails/interop/testcase_spec.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -12,6 +12,7 @@ require 'spec/rails/extensions'
 require 'spec/rails/example'
 require 'spec/rails/version'
 require 'spec/rails/matchers'
+require 'spec/rails/interop/testcase'
 
 module Spec
   # = Spec::Rails</diff>
      <filename>rspec_on_rails/lib/spec/rails.rb</filename>
    </modified>
    <modified>
      <diff>@@ -10,14 +10,6 @@ module Spec
 
     module Example
       class RailsExampleGroup &lt; Test::Unit::TestCase
-        # Rails &gt;= r8570 uses setup/teardown_fixtures explicitly
-        before(:each) do
-          setup_fixtures if self.respond_to?(:setup_fixtures)
-        end
-        after(:each) do
-          teardown_fixtures if self.respond_to?(:teardown_fixtures)
-        end
-        
         include Spec::Rails::Matchers
 
         @@model_id = 1000</diff>
      <filename>rspec_on_rails/lib/spec/rails/example/rails_example_group.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>c306874a65ba9e63afbc5abbc5013ba7e7024de0</id>
    </parent>
  </parents>
  <author>
    <name>Jonathan del Strother</name>
    <email>jon.delStrother@bestbefore.tv</email>
  </author>
  <url>http://github.com/jdelStrother/rspec/commit/a1f0ebead45cb50d47434f449f94948c6866b5ba</url>
  <id>a1f0ebead45cb50d47434f449f94948c6866b5ba</id>
  <committed-date>2008-03-15T12:34:57-07:00</committed-date>
  <authored-date>2008-03-15T11:32:55-07:00</authored-date>
  <message>Fixing Rails' TestCase callbacks

Edge Rails has TestCase callbacks, used for loading fixtures, among other things.
At the moment, these aren't called when rspec runs vanilla TestCase tests.  This patch fixes that.
As such, the before method in RailsExampleGroup to load the fixtures is no longer needed.</message>
  <tree>6b0dd6fb62f72309a819bbf622b2d4e228a31e53</tree>
  <committer>
    <name>Jonathan del Strother</name>
    <email>jon.delStrother@bestbefore.tv</email>
  </committer>
</commit>
